Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4

Thread: Refresh rate

  1. #1
    New Coder
    Join Date
    Oct 2002
    Location
    Philippines
    Posts
    75
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Refresh rate

    How do you add a refresh rate in your page? I mean an auto refresh with a certain time..
    So, you can try to tear me down
    Beat me to the ground
    I will see you screaming

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    <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" />
    My Site | fValidate | My Brainbench | MSDN | Gecko | xBrowser DOM | PHP | Ars | PVP
    “Minds are like parachutes. They don't work unless they are open”
    “Maturity is simply knowing when to not be immature”

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    Montreal, Canada
    Posts
    644
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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>

  • #4
    New Coder
    Join Date
    Oct 2002
    Location
    Philippines
    Posts
    75
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Oh thanks!
    So, you can try to tear me down
    Beat me to the ground
    I will see you screaming


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •