Results 1 to 5 of 5

Thread: Redirection

  1. #1
    Join Date
    Jul 2006
    Posts
    139
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default Redirection

    I need the code for redirection. Like if i have a link that opens up a quicktime file and if i dont have quicktime installed, it will take me to the quicktime homepage. Can you guys give me the code please?

  2. #2
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    Code:
    onload=function() {window.location.href="yourpath/yoururl.html"}
    Is that it?
    - Mike

  3. #3
    Join Date
    Sep 2005
    Posts
    882
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    this thread might be of some help.

  4. #4
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by neo_philiac
    Like if i have a link that opens up a quicktime file and if i dont have quicktime installed, it will take me to the quicktime homepage.
    If that is the case, then place a notice before that link that states that the destination contains a QuickTime movie and the user will need to have a QuickTime player to view it (and include a link to the Apple download page using "QuickTime" or "QuickTime player" as link text). No need for some script that may or may not work.

    Mike

  5. #5
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    I had to do that once but it was for Flash Player, and I used a confirm message box. And if they clicked "no" they were taken to a page with a link on it to the software.
    - Mike

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
  •