SitePoint Sponsor

User Tag List

Results 1 to 7 of 7

Threaded View

  1. #1
    SitePoint Enthusiast
    Join Date
    Sep 2000
    Location
    Charlotte, NC USA
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Multi-Level Menu Snafu

    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:

    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";
    }
    Any ideas?

    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.
    Last edited by ChanFan; Jun 29, 2001 at 12:04.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •