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>


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章