Re: Browser detection

Wes Tatters (wtatters@world.net)
Sun, 22 Dec 1996 22:41:20 GMT


From: wtatters@world.net (Wes Tatters)
To: Boleslaw Mynarski <bmynarsk@pathcom.com>
Cc: "Web Edit Pro (E-mail)" <webedit-list@thegroup.net>,
Subject: Re: Browser detection
Date: Sun, 22 Dec 1996 22:41:20 GMT
Message-ID: <32beb81f.31256079@mailhost.world.net>
In-Reply-To: <01BBEB93.E0027D40@ts16l3.pathcom.com>

On Mon, 16 Dec 1996 20:58:15 -0500, you wrote:

>I have picked up this script from MS Site Builder that is
> supposed to enable me to detect which browser a user
> is using and thus being able to determine which page
> to load.  Here is the script:

Try this:

<SCRIPT LANGUAGE=3D"JavaScript">
<!--
var name =3D navigator.appName;
if (name =3D=3D "Microsoft Internet Explorer"> {
   location.href=3D"EXPLORER.htm">;  }
else {
   location.href=3D"NAVIGATOR.htm">;=20
  }
// -->
</SCRIPT>

<BODY>
Content for those not using either browser.
</BODY>

--=20
|   Cornerstone      | Wes Tatters                | Eudora 1.54     |
|       Productions  | CIS: 100036,174            | Agent 0.99f/32  |
| Brisbane AUSTRALIA | INT: wtatters@cnrstone.com | Netscape 3.0Gold|
|--------------------| http://www.cnrstone.com/   |-----------------|