- From: Wes Tatters <wtatters@world.net>
- Date: Sun, 22 Dec 1996 22:41:20 GMT
- To: Boleslaw Mynarski <bmynarsk@pathcom.com>
- Cc: "Web Edit Pro (E-mail)" <webedit-list@thegroup.net>, "HTML General (E-mail)" <www-html@www10.w3.org>
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