日期:2014-05-18 浏览次数:20770 次
<html> <body> <table> <tr> <td align="center" id="c">请仔细阅读以上的注册许可协议</td> </tr> </table> </body> </html> <script type="text/javascript"> var secs = 9; var wait = secs * 1000; document.getElementById("c").innerHTML = "请仔细阅读以上的注册许可协议 (" + secs + ")"; for(i = 1; i <= secs; i++) { window.setTimeout("update(" + i + ")", i * 1000); } window.setTimeout("timer()", wait); function update(num, value) { if(num == (wait/1000)) { document.getElementById("c").innerHTML = "请仔细阅读以上的注册许可协议"; } else { printnr = (wait / 1000) - num; document.getElementById("c").innerHTML = "请仔细阅读以上的注册许可协议 (" + printnr + ")"; } } function timer() { document.getElementById("c").innerHTML = '<button type="submit" id="rulesubmit" name="rulesubmit" value="true">同 意</button> <button type="button" onclick="location.href=\'http://bbs.winning11cn.com/\'">不同意</button>'; } </script>