[thelist] Browser Detection

Andrew Forsberg andrew at thepander.co.nz
Thu Feb 22 18:02:45 CST 2001


>   I created the following javascript code to detect whether a user 
>is using IE or Netscape version 4 or greater.  If the user is not I 
>want to display an alert msg.  It is not working :(  If anybody know 
>how to fix it please let me know.
>
>if ( (name == "Microsoft Internet Explorer" || name == "Netscape") 
>&& (version > 4) )
>{
>}

Hi

Tell us how you are getting the name and version variables?

-- 
Andrew Forsberg
http://www.thepander.co.nz




More information about the thelist mailing list