Browser check code wo'nt work on Mac
by "Jasmeet Singh" <embrocia(at)giasdl01.vsnl.net.in>
|
Date: |
Wed, 17 May 2000 17:29:27 +0530 |
To: |
<hwg-techniques(at)hwg.org> |
Cc: |
<hwg-languages(at)hwg.org> |
|
todo: View
Thread,
Original
|
|
Hi,
we are developing a website and the beta version is lying at
www.basisdesign.ch/beta/index.html
On this page there is a link to a file bcheck.html (borwser check), from
the "Kontact" image.
The code is :
<html>
<head>
<title>Browser Test</title>
</head>
<body bgcolor=#ffffff>
<script language="JavaScript">
<!--
check = parseInt(navigator.appVersion);
Name = navigator.appName;
if (Name == "Netscape")
{window.location = "kontakt_nav.html";}
if (Name == "Microsoft Internet Explorer")
{window.location = "kontakt_ie.html";}
// -->
</script>
</body>
</html>
Now this code is working fine browsers running on the IBM/PC platform
but it
hangs on IE4.0 above on iMac (OS 9), could anyone please, let me know how to
solve this
problem?
thanks,
Jasmeet Singh
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA