I've implemented a multi-level menu for a new site that's about to go live. The menu tests fine in everything except Netscape 6. V6 doesn't even show the main categories. That's not good.... V6 users won't have a menu at all if I can't get this fixed.
Amazingly, the menu shows up and works just fine on all levels in Netscape 4.7.
Here's part of the code:
Any ideas?Code:var JDWMinNS4 = (navigator.appName.indexOf("Netscape") >= 0 && parseFloat(navigator.appVersion) >= 4) ? 1 : 0; var JDWMinNS6 = (navigator.appName.indexOf("Netscape") >= 0 && parseFloat(navigator.appVersion) == 6) ? 1 : 0; var JDWMinIE4 = (document.all) ? 1 : 0; var JDWMinIE5 = (JDWMinIE4 && navigator.appVersion.indexOf("5.") >= 0) ? 1 : 0; var JDWMinIE55 = (JDWMinIE5 && navigator.appVersion.indexOf("5.5") >= 0) ? 1 : 0; function hideLayer(layer) { if (JDWMinNS4) layer.visibility = "hide"; if (JDWMinIE4) layer.style.visibility = "hidden"; }
P.S. Anybody know how to get a site to cover the entire screen in Netscape, considering Netscape doesn't support the leftmargin=0 and rightmargin=0 attributes? The design of this new site necessitates no left or right margins and of course Netscape provides them anyway.




Bookmarks