SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    Extremists Beware! Rockrz's Avatar
    Join Date
    Mar 2001
    Location
    In God's Country!
    Posts
    1,317
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    HELP! Need Redirect Script for NS

    I need to find a script that will only redirect Netscape browsers that are less than 6 (I want 6 to be accepted, and allowed through)

    I had one that worked great, but it somehow got corrupted when I used my &#$@% WYSIWYG editor, and I saved my mistake

    Any help would be greatly appreciated!
    .

  2. #2
    SitePoint Wizard Bill Posters's Avatar
    Join Date
    Dec 2001
    Location
    UK
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The best way would be to detect the browser based on its abilities rather than its appName or appVersion.

    Code:
    <script type="text/javascript">
    
    if (document.layers) {
    window.location="nn4page.html"
    }
    
    </script>
    Place that in the header of your page and all Netscape versions lower than 6 will be redirected to whatever page you set (nn4page.html used as example).
    New Plastic Arts: Visual Communication | DesignateOnline

    Mate went to NY and all he got me was this lousy signature

  3. #3
    Extremists Beware! Rockrz's Avatar
    Join Date
    Mar 2001
    Location
    In God's Country!
    Posts
    1,317
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks a million, Bill!
    You are truly a life saver! I'll give it a whirl....
    .

  4. #4
    Extremists Beware! Rockrz's Avatar
    Join Date
    Mar 2001
    Location
    In God's Country!
    Posts
    1,317
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It works like a charm!
    Thanks again.....
    .


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
  •