SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Auto refresh

  1. #1
    Afrika
    Join Date
    Jul 2004
    Location
    Nigeria
    Posts
    1,737
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Auto refresh

    hello,
    how do i make a page auto refresh if idle for 20 seconds

    Or auto redirect if idle for 20 seconds

    thanks

  2. #2
    Geek of all trades ... GORF's Avatar
    Join Date
    Oct 2004
    Location
    New England
    Posts
    194
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <head>

    <META http-equiv=REFRESH content="20; URL=http://www.sitename.com">

    </head>


    If you use the same page URL as what is being viewed, it will refresh.
    If you use a different URL, it will redirect.

    20 is the number of seconds.
    http://www.tonsofwebsites.com Hosting Tons of Websites for years
    http://www.cpanelbuys.com Buying cPanel hosting companies
    http://www.namesvibe.com Cheap domains - Good vibes!

  3. #3
    Afrika
    Join Date
    Jul 2004
    Location
    Nigeria
    Posts
    1,737
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks a lot


Bookmarks

Posting Permissions

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