moldboy
Sep 16 2005, 10:39 PM
| | 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 |
Comment/Reply (w/o sign-up)
crapoartworks
Sep 17 2005, 12:08 AM
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.
Comment/Reply (w/o sign-up)
SystemWisdom
Sep 17 2005, 12:28 AM
CODE <body onload="window.setTimeout('window.location.reload()',1000);">
The 1000 = 1 Second...
Comment/Reply (w/o sign-up)
littleweseth
Sep 17 2005, 05:35 AM
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*
Comment/Reply (w/o sign-up)
Lozbo
Sep 17 2005, 07:04 PM
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">
Comment/Reply (w/o sign-up)
SystemWisdom
Sep 17 2005, 10:03 PM
The meta tag would refresh the page *before* it loads tho..
Comment/Reply (w/o sign-up)
MarCrush
Sep 20 2005, 12:29 AM
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.
Comment/Reply (w/o sign-up)
qwertyiscool
Oct 1 2005, 10:41 PM
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...
Comment/Reply (w/o sign-up)
keep-in-touch
Jul 28 2006, 08:38 AM
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
Comment/Reply (w/o sign-up)
RecordSites
Sep 28 2006, 04:19 PM
Keep in mind that some methods really refresh the page including the images (bandwidth!), and some are more like forwarding.
Comment/Reply (w/o sign-up)
iGuest
Sep 5 2009, 07:37 AM
Auto Refresh
Auto Refresh
Hi 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
Comment/Reply (w/o sign-up)
iGuest
Apr 5 2009, 11:14 PM
@iGuest
Auto 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
Comment/Reply (w/o sign-up)
iGuest
Mar 23 2009, 03:05 PM
auto refresh page code
Auto 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
Comment/Reply (w/o sign-up)
Similar Topics
Keywords : auto, refresh, page, loads
- Refresh Main Window By Clicking Link In Popup?
(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....
Refresh Page After Back Button Hit
(14) 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. ....
Making A Refresh Link On Your Website.
refresh local webpage (17) /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> post it on ur website
CODE refresh 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 want to refresh local webpage but not go back to homepage.
/ohmy.gif' border='0' style='vertical-align:middle' alt='ohmy.gif' /> * same co....
Refresh Web Page
(7) 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 ....
Looking for auto, refresh, page, loads
|
Searching Video's for auto, refresh, page, loads
See Also,
|
advertisement
|
|