摘要: 第一种:JS定时自动关闭窗口 <script language="javascript"><!--function closewin(){self.opener=null;self.close();}function clock(){i=i-1document.title="本窗口将在"+i+"秒后自动关闭!";if(i>0)setTimeout("clock();",1000);else closewin();}var i=10clock();//--></script> 阅读全文
posted @ 2011-04-06 14:44 johLife 阅读(1299) 评论(0) 推荐(0) 编辑