Jump to content
xisto Community
moldboy

Auto Refresh after page loads

Recommended Posts

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

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 :P Quick, easy and beneficial for all, except Microsoft of course. *gloat gloat*

Share this post


Link to post
Share on other sites

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

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

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
auto refresh page codeAuto Refresh

hello,

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
@iGuestAuto Refresh

You 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
auto refresh select formAuto Refresh

I 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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.