I don't know if this had been answered somewhere. But how do you check browser so that if the user is using Netscape, there's a different version of page loaded.
of course, it's been answered many times. in any case, it's very simple (and there are several ways of doing this), so i'll just post it here:
nn = (document.layers)? true:false
ie = (document.all)? true:false
if (nn) location.href="for_netscape.htm"
if (ie) location.href="for_explorer.htm"
This is getting worse and worses. Basically nowdays you need four versions of your pages: 1) ie4 or higher; 2) nn4 3) nn6; 4) older browsers.
Bangers, I start thinking more and more often that we should all "stand up for our right" and support that movement for browser upgrade. I mean, really that's what standards are for. I want to make one page that appears correctly on all devices whether it is an IE, Opera, mobile phone or browser-capable washing machine. For details of the movement, please go there:
Hi Rydel,
a little correction to your list:
I think you may through away old browsers (v.3 and earlier), but should add Opera - navigator.appName == "Opera"
yahve...you have no idea how I want to tell that 12% that still use Netscape (most of which still use NN4.x) to "stick it."
heh...I installed NS6 today....dang thing refused to try to bring up any webpage at all. ------------------------------------
"Unclean beast! Get thee down! Be thou consumed by the fires that made thee!" - Brother Jacobus in Dragonslayer
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.