2005/05/16 | 如何让某个页面每3分钟自动刷新一次?
类别(WEB相关) | 评论(0) | 阅读(77) | 发表于 21:51
1 <meta http-equiv="Refresh" content="10;URL=http://www.csdn.net">

2 window.setTimeout(winndow.location(url),3000)

3 <script>
var timeLast = 3000;
var t;
function pageRefresh()
{
if( t == timelast) location.href="fdssfd";
t++;
setTimeout("pageRefresh()",1000);
}
</script>
0

评论Comments