Results 1 to 3 of 3

Thread: Auto-Execute a link

  1. #1
    Join Date
    Feb 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Auto-Execute a link

    Hello All. I have a question that I need help with. I have a link, and I need that link to be automatically executed after a certain period of time after the page loads. Any help would be greatly appreciated.

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Use a meta refresh:
    Code:
    <meta http-equiv="refresh" content="5;http://www.othersite.com/mypage.htm" />
    That's to go to http://www.othersite.com/mypage.htm in five seconds after the page is loaded. The tag should be put in the <head> of the page.

    This thread is in the wrong forum.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Mar 2006
    Location
    SoCal, USofA
    Posts
    39
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Can't you also set a timeout() in javascript for browsers that don't support meta refresh? Or am I just smoking something?

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
  •