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.<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.
This page actually has <META HTTP-EQUIV="Refresh" CONTENT="10" URL="http://www.piclist.com/techref/language/html/autoreload.htm">
It is the same as sending the old Netscape HTTP response header: Refresh: seconds; url=...
This can also be done with Javascript like:
<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:
See also:
No ads on this page because it automatically reloads: pub-3554665142518411
file: /Techref/language/html/autoreload.htm, 4KB, , updated: 2016/12/27 16:42, local time: 2024/11/30 15:28,
18.221.12.61:LOG IN
|
©2024 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? <A HREF="http://sxlist.com/TECHREF/language/html/autoreload.htm"> automatic web page reload</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.