Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Netscape 6...


Message #1 by Paul R Stearns <pauls@c...> on Tue, 16 Oct 2001 11:23:04 -0400
to answer your second question, NN can understand both it's own
functionality - from previouse versions - and also alot of IE's
functionality - such as getElementById(id), but there are still differences.

Q.

-----Original Message-----
From: Paul R Stearns [mailto:pauls@c...]
Sent: Tuesday, October 16, 2001 4:23 PM
To: javascript
Subject: [javascript] Netscape 6...


I have copied and modified a menu system for my own use, which does things
based
on whether the browser is IE or NN, the code which determines what browser
is
running is;

if (document.all)    {n=0;ie=1;fShow="visible";fHide="hidden";}
if (document.layers) {n=1;ie=0;fShow="show";   fHide="hide";}

I have two questions;

1) How can I tell if I am running NN6?

2) Which is it more similar to IE or NN 4.x?

Paul



  Return to Index