小明云新闻网小明云新闻网

实时新闻|站长资讯|站长源码|资源分享|小明云|687267.COM

无限刷新某些页面

<html> <head> <title> hello world </title> </head> <body> <script language="JavaScript"> function myrefresh() { window.location.reload(); } setTimeout(myrefresh(),8000); </script> <div id="testloadimg"> </div> <script type="text/javascript"> var arr = ["https://sy.ytecn.com/"]; function timedCount() { var content = ""; for (var i = 0; i < arr.length; i++) { content += "<img src=\""+arr[i]+"?r=" + Math.random() + "\" />"; } document.getElementById("testloadimg").innerHTML = content; setTimeout("timedCount()", 20000); } timedCount(); </script> </body> </html>

无限刷新某些页面

下一篇: 正则替换空行

相关文章

评论列表

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

您是本站第31470名访客 今日有0篇新文章