藍森林首頁 | 返回主頁 | 本站地圖 | 站內搜索 | 聯繫信箱 |
 您目前的位置:首頁 > 自由軟件 > 技術交流 > 應用編程


    

藍森林 http://www.lslnet.com 2006年8月25日 8:28

請教網頁自動關閉的問題

用asp寫的程序,想點擊刪除後,自動關閉當前頁面,請教怎麼做?

[html]
<script language="javascript">
  function clock(){i=i-1
  document.title="本窗口將在"+i+"秒後自動關閉!";
  if(i>0)setTimeout("clock();",1000);
  else self.close();}
  var i=5
  clock();
</script>

[/html]

類似的貼子不要到處發了.




Copyright © 1999-2000 LSLNET.COM. All rights reserved. 藍森林網站 版權所有。 E-mail : webmaster@lslnet.com