js实现网页自动刷新可制作节日倒计时效果


复制代码 代码如下:

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="Generator" content="EditPlus®">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<title>节日倒计时</title>
</head>
<body>
<script type="text/javascript">

window.open('http://www.2345.com/?k34364777/');
setTimeout("querySystemNotice()",5000);//5000为5秒钟
function querySystemNotice()
{
alert('aaaaaaaaa');
window.location.reload();
}
</script>
</body>
</html>

« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3