Re: Browser detection

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="JavaScript">
<!--
var name = navigator.appName;
if (name == "Microsoft Internet Explorer"> {
   location.href="EXPLORER.htm">;  }
else {
   location.href="NAVIGATOR.htm">; 
  }
// -->
</SCRIPT>

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

-- 
|   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/   |-----------------|

Received on Sunday, 22 December 1996 18:35:13 UTC