可以使用javascript来实现。
使用的函数是setInterval。
给你一个例子,你拷贝到记事本中,存为test.htm(或其它文件名,但后缀名必须是htm或者html),然后用IE打开就可以测试了:
※※※※※※※※※※※※※※※※※※※※
<html>
<head>
<script language=javascript>
t=window.setInterval("a()",3000);
function a()
{
window.location.reload();
alert("ok");
}
</script>
</head>
<body>
hello
</body>
</html>
※※※※※※※※※※※※※※※※※※※※
另外,如果你需要限制刷新的次数,可以使用setTimeout函数
使用的函数是setInterval。
给你一个例子,你拷贝到记事本中,存为test.htm(或其它文件名,但后缀名必须是htm或者html),然后用IE打开就可以测试了:
※※※※※※※※※※※※※※※※※※※※
<html>
<head>
<script language=javascript>
t=window.setInterval("a()",3000);
function a()
{
window.location.reload();
alert("ok");
}
</script>
</head>
<body>
hello
</body>
</html>
※※※※※※※※※※※※※※※※※※※※
另外,如果你需要限制刷新的次数,可以使用setTimeout函数