moldboy 0 Report post Posted September 16, 2005 Okay this seem like a siple enough task, I would like to tell an html page to refresh, but two conditions have to be met, 1) the page must have finsihed loading, 2) it must wait a given number of seconds, say 5. Buy the way this needs to be automatic.Thanks Share this post Link to post Share on other sites
crapoartworks 0 Report post Posted September 17, 2005 Ok, I think I can help you...Try this website: http://www.draac.com/ , Then click on Javascripts.There are a few things in there that may help you in doing that. :-DI have been visiting that website for years, and I find it very helpful. Its how I learned image mapping. Share this post Link to post Share on other sites
SystemWisdom 0 Report post Posted September 17, 2005 <body onload="window.setTimeout('window.location.reload()',1000);"> The 1000 = 1 Second... Share this post Link to post Share on other sites
littleweseth 0 Report post Posted September 17, 2005 If it's for yourself, you could just use Opera. You can just tell it to refresh every n seconds.If it's for users - just annihilate IE, then put Opera into the vaccum thus created Quick, easy and beneficial for all, except Microsoft of course. *gloat gloat* Share this post Link to post Share on other sites
Lozbo 0 Report post Posted September 17, 2005 Theres also a meta tag that you can define on the head, but not sure wheter it refreshes even if the content has not finished loading or if it starts counting when the head section loaded. Code would be something like that:<meta http-equiv="refresh" content="600"> Share this post Link to post Share on other sites
SystemWisdom 0 Report post Posted September 17, 2005 The meta tag would refresh the page *before* it loads tho.. Share this post Link to post Share on other sites
galexcd 0 Report post Posted October 1, 2005 The meta tag would refresh the page *before* it loads tho.. 186958[/snapback] not if the contet is more than the time it takes to load the page... who cares when it starts counting... If it has to be like 5 secconds after it loads, then you can make it like 6 or 7... Share this post Link to post Share on other sites
keep-in-touch 0 Report post Posted July 28, 2006 not if the contet is more than the time it takes to load the page... who cares when it starts counting... If it has to be like 5 secconds after it loads, then you can make it like 6 or 7... hi i have tried to open the suggested website for javasc ( http://www.draac.com/picture-roll.html) but the links in that web did not work.i'm using ASP.net when ever i will write the codes that you have mention in the HTML the code will change and it will appare on the webpage and will not work.thank you Share this post Link to post Share on other sites
RecordSites 0 Report post Posted September 28, 2006 Keep in mind that some methods really refresh the page including the images (bandwidth!), and some are more like forwarding. Share this post Link to post Share on other sites
iGuest 3 Report post Posted March 1, 2009 you can use http://www.refreshthis.com/ to auto refresh a website Share this post Link to post Share on other sites
iGuest 3 Report post Posted March 23, 2009 auto refresh page codeAuto Refreshhello, I saw you code on this site. <body onload="window.SetTimeout('window.Location.Reload()',1000);"> this will refresh the page every second. but do you know a command for refreshing the page just once? I'm looking for this but it only should refresh once. many thanks in advance,-reply by albert-jan Share this post Link to post Share on other sites
iGuest 3 Report post Posted April 5, 2009 @iGuestAuto RefreshYou can do so with if-get commands in php quite easily. Just make a list and you can have it refresh as many times as you want. If you just want it to refresh oncemakea single if get command and direct users to that page. I am making an mmorpg with ajax and if get commands some hashed some not.-reply by IncludeAustin Share this post Link to post Share on other sites
iGuest 3 Report post Posted September 5, 2009 Auto RefreshAuto RefreshHi Guys, Just to let you know you can auto refresh any website including twitter at http://www.refreshthis.com/ Hope this is of some help to people. -reply by David Share this post Link to post Share on other sites
iGuest 3 Report post Posted February 12, 2010 auto refresh select formAuto RefreshI have a select form which gets data from mysql and insert them as options. If I select an option and click on a submit button it sends back information to mysql. What I want is to refresh the form/page every x seconds without deselecting my selected option. I have not found a solution for this yet. Does anyone have a clue? Rob Share this post Link to post Share on other sites