Matt Bennett says
Insert this tag after the tag: Content is the number of seconds until it loads the page. 600 will reload every 10 minutes.This page actually has <META HTTP-EQUIV="Refresh" CONTENT="10" URL="http://www.piclist.com/techref/language/html/autoreload.htm"><META HTTP-EQUIV="Refresh" CONTENT="600" URL="http://www.??????.com/??????">If you want it to reload the current page, place its URL after the "URL=" in the tag above. You can also have it point to another page.
<SCRIPT>
<!--
function reload() {
var timeleft = time.left;
timeleft.value = timeleft.value - 1;
if (timeleft.value < 1) window.location="index.htm" ;
//this would point to this page if you wanted to reload.
//Here I'm using it to keep people from just sitting on this page.
{setTimeout('reload()',1000);}
}
setTimeout('reload()',1000)
//-->
</SCRIPT>
<FORM NAME="time">
<INPUT TYPE=TEXT NAME="left" VALUE=60> seconds left
</FORM>
And here it is running:
Comments:
See also:
| file: /techref/language/html/autoreload.htm, 3KB, , updated: 2008/3/11 08:47, local time: 2008/12/2 12:20,
38.103.63.57:LOG IN
|
| ©2008 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? Please DO link to this page! Digg it! <A HREF="http://techref.massmind.org/techref/language/html/autoreload.htm"> automatic web page reload</A> |
| Did you find what you needed? |
Welcome to massmind.org! |
|
.