Jul 26, 2008

Auto Refresh - after page loads

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > HTML, XML etc..

free web hosting

Auto Refresh - after page loads

moldboy
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

Reply

crapoartworks

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. :-D

I have been visiting that website for years, and I find it very helpful. Its how I learned image mapping.

Reply

SystemWisdom
CODE

<body onload="window.setTimeout('window.location.reload()',1000);">


The 1000 = 1 Second...

Reply

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

Reply

Lozbo
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">

Reply

SystemWisdom
The meta tag would refresh the page *before* it loads tho..

Reply

MarCrush
QUOTE(SystemWisdom @ Sep 17 2005, 03:03 PM)
The meta tag would refresh the page *before* it loads tho..
*



Wrong.

The meta tag will start to countdown the seconds till to reload the page after the whole entire page is done loading (when the progress bar is gone or empty). Anyways, I never can get that meta tag for the refresh off the top of my head (always have to look somewhere). You could just use a script (but not all browsers support JavaScript).

I think the only way to redirect someone before the page is done is never going to happen, unless you find some special script to do so.

Reply

galexcd
QUOTE(SystemWisdom @ Sep 17 2005, 02:03 PM)
The meta tag would refresh the page *before* it loads tho..
*



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...

Reply

keep-in-touch
QUOTE(qwertyiscool @ Oct 1 2005, 10:41 PM) *

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

Reply

RecordSites
Keep in mind that some methods really refresh the page including the images (bandwidth!), and some are more like forwarding.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. how to auto refresh ie6 web pages - 4.44 hr back. (1)
  2. javascript refresh page after time - 4.47 hr back. (1)
  3. auto refresh website - 4.46 hr back. (2)
  4. php page sometimes loads blank but then loads on refresh - 5.09 hr back. (1)
  5. auto refresh php - 5.71 hr back. (1)
  6. php page auto - 5.91 hr back. (1)
  7. php auto refresh page from iframe - 5.98 hr back. (1)
  8. submit form after page load - 6.38 hr back. (1)
  9. auto refresh page on load - 7.57 hr back. (1)
  10. auto refresh a page - 7.90 hr back. (1)
  11. automatic page refresh - 7.92 hr back. (1)
  12. refresh images when page loads asp.net - 9.16 hr back. (1)
  13. force autorefresh folder - 9.82 hr back. (1)
  14. asp.net how to refresh page after 10 second - 10.57 hr back. (2)
Similar Topics

Keywords : auto, refresh, page, loads

  1. Refresh Main Window By Clicking Link In Popup?
    (2)
  2. Refresh Php Page, But First .....
    (2)
    I'm working on this now, but I can't even think of how to write it, if it's possible
    (but I'm pretty sure it is)... I have a page, which has a small iframe on it which loads a php
    page showing the status of a server, and refreshes itself every 30 seconds or so.. that works fine..
    the only problem is, when it refreshes, it seems to take at least 1 second to show anything, and I
    don't like it going blank like that.. my question is, can I set the php to check the status
    every 30 seconds, and check to see if it's different from before, and if so, t....
  3. Refresh Page After Back Button Hit
    (11)
    Hi. I have a page that is dynamically build through DOM manipulation. So, when I browse outside the
    page, and then click back, those dynamically created DOM objects are gone. Since I am also using JSP
    / Servlet technology, I can rebuild this page easily, which I have done. Here is my dilemma. If
    the user leaves the dynamic page, then clicks back on their browser, I need the page they are going
    back to to refresh. I can't figure out how to do this. I've tried using the META tag, but it
    won't do it. Help would be appreciated. Thanks. ....
  4. Making A Refresh Link On Your Website.
    refresh local webpage (16)
    /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> post it on ur website
    CODE <a href="javascript:this.location.reload();" style="color:
    #000000; font-weight: normal">refresh</a> It can refresh local webpage. U
    can add it at ur forum so that each topic u are reading can be refresh easily. If ur website
    return to homepage after pressing I.E. refresh button, then u must need this coding. /cool.gif'
    border='0' style='vertical-align:middle' alt='cool.gif' /> Beacus visitors only w....
  5. Refresh Web Page
    (6)
    Well this questioned wasnt answered in 2003 but hopefully somebody knows the answer, sorry if this
    is a simple question but can i force the web browser to refresh the page after pressing the submit
    button. Basically my cgi perl form copies a different jpeg with teh same name into my public_html
    folder every time the form is submitted, therefore i have to click on the refresh button in IE to
    see the different picture. I have tried Code: but it doesnt seem to work in IE6 ....

    1. Looking for auto, refresh, page, loads

Searching Video's for auto, refresh, page, loads
advertisement



Auto Refresh - after page loads



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE