[thelist] Re: Browser Detection
Peter-Paul Koch
gassinaumasis at hotmail.com
Fri Feb 23 12:03:16 CST 2001
> <script language="JavaScript1.2"><!--
> var name = navigator.appName;
> var version = parseInt(navigator.appVersion);
> if ((name != "Microsoft Internet Explorer" || name != "Netscape") &&
>(version < 4)) {
This'll give problems because lower browsers (which need to see the alert)
won't execute a JavaScript 1.2 script. So you'd best leave out the 1.2 bit.
ppk
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
More information about the thelist
mailing list