Posted in Javascript onFebruary 18, 2014
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>60刷新本页</title> <script type="text/javascript"> var t; t=60; function shua() { t=t-1; document.getElementById("hints").innerHTML="离下次刷新时间还有 "+t+" 秒"; if (t==0) { document.location.reload(); } } </script> </head> <body onload="window.setInterval(shua,1000);"> <center> <font id="hints" style="color:blue" >离下次刷新时间还有60秒</font><br/> <center> </body> </html>
倒记时60刷新网页的js代码
声明:登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述。
Reply on: @reply_date@
@reply_contents@