...

View Full Version : Refresh rate



pharma
11-14-2002, 05:11 AM
How do you add a refresh rate in your page? I mean an auto refresh with a certain time..

beetle
11-14-2002, 07:23 AM
<meta http-equiv="refresh" content="time;url=URL" />

Where time is in seconds, and URL is the page to refresh to

Example will refresh page.htm at domain.com every 10 minutes

<meta http-equiv="refresh" content="600;url=http://www.domain.com/page.htm" />

x_goose_x
11-14-2002, 04:33 PM
If you don't want to type in the address of the page you can always try using:

<script>
setTimeout("window.location.reload()",5000); //1000 = 1 second 5000 = 5 seconds
</script>

pharma
11-14-2002, 06:16 PM
Oh thanks!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum