js实现网页自动刷新可制作节日倒计时效果
js实现网页自动刷新可制作节日倒计时效果
发布时间:2016-12-30 来源:查字典编辑
摘要:复制代码代码如下:节日倒计时window.open('http://www.2345.com/?k34364777/');setTimeou...

复制代码 代码如下:

<!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>

推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
相关阅读
网友关注
最新Javascript教程学习
热门Javascript教程学习
编程开发子分类