Click to See Complete Forum and Search --> : How do you detect Netscape 4.x only?


jamesf4218
12-12-2002, 08:31 AM
Hello,

I want a piece of code that displays one graphic if the user is using netscape 4.x and another if they are using anything else (regardless of pc or mac).

Cheers

James

gil davis
12-12-2002, 04:04 PM
The easiest way is

if (document.layers) { // NS 4.x