Click to See Complete Forum and Search --> : Auto Reload upon page opening?
Yeah, I need a way to auto upload a page when it's opened but not to the point where it's an endless loop. Say reload every 5 minutes maybe? And maybe set a cookie for forms beforehand?(for a CGI forum that doesn't auto update)
So if anyone could help me out here it'd be great. Thanks,
Teev~~
jedioutcaster
01-05-2004, 11:19 PM
Well, actually this can be done in pure HTML function:
setTimeout("location.reload(true)", 300000)
The '300000' is 300000 milliseconds, meaning 5 minutes. "true" means reload from server.
Hey, another thing. If you don't want the whole page to load, you might wanna put an "IFRAME" so only that included frame reloads, meaning you have to change the setTimeout object to the ID of the iframe tag.
Did that help?
jedioutcaster
01-05-2004, 11:26 PM
If you really NEED to use cookie, try look for document.cookie in HTML tutorials. Cookies are just a small piece of information applied to a particular page.
If you have Microsoft Office XP, you can try to open Word or something and then go to Tools --> Debug --> Microsoft Script Editor, and then go to its help, where you can search for keywords about VBScript, JavaScript, HTML, CSS, and lots of their examples.