Hey, I am working on a page with several webcam shots that I need to automatically refresh. Obviously this can be done with the meta tag or javascript however: Some of the webcams shots load at different times, and some take up to a minute to come back. I would like the page to refresh every 10 seconds whether or not the page has "completely" loaded, is this possible? Thanks in advance for any help.
Refresh the page every 10 seconds with Javascript's setInterval function. <script> setInterval(function() { window.location = "[I]website_URL[/I]" }, 10000); </script> Code (markup):
To have the page automatically refresh itself every x seconds, use a tag like this: <META HTTP-EQUIV="REFRESH" CONTENT="5"> Code (markup): This tells the browser to refresh the page (HTTP-EQUIV="REFRESH"), and that it should do so every five seconds (CONTENT="5").