1.在HTML页面中:
在<title>xxxxx</title>之後加入下面这一行即可!
<meta http-equiv="refresh" content="3">
意思是每隔3秒刷新一次。
重定向:<meta http-equiv="refresh" content="3;URL=http://www.jd265.com/">
意思是每隔3秒刷新并且跳转到URL。
2.js文件中,用setInterval或者setTimeout
1.在HTML页面中:
在<title>xxxxx</title>之後加入下面这一行即可!
<meta http-equiv="refresh" content="3">
意思是每隔3秒刷新一次。
重定向:<meta http-equiv="refresh" content="3;URL=http://www.jd265.com/">
意思是每隔3秒刷新并且跳转到URL。
2.js文件中,用setInterval或者setTimeout