Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:28

Bad Menu display in Netscape 4.x - IT'S FIXED!


Poster: DesertFox07
Dated: Tuesday August 6 2002 - 21:10:59 BST

After a few bumps and bruises, I have gotten my menu to stop crashing my pages in Netscape 4.x and 6.x.

BUT, now I have a new display problem in NS 4.x where it displays the menus, but the formatting and functionality is completely wrong. The menu options seem to have been squished down to small bars in the menu, that change color on mouseover. Sub menus display, but in the same bad look. The space between menu items is coming out white, and no text is displayed. When you hover over these white bars for a second, the menu disapears.

I have tried the CSS: Remove Cell formatting fix. no go. http://www.milonic.co.uk/menu/forum/viewtopic.php?t=984&highlight=netscape

IE5+, NS6, its fine.

I have two screen captures, one of how it should look and one of how it looks in NS4 that I will post later today.

The page in question is relying heavily on JavaScript to display certain dynamic content, but if anyone else has run into this type of problem, advice is appreciated.

Getting closer


Poster: DesertFox07
Dated: Wednesday August 7 2002 - 16:13:50 BST

Ok, I fixed the awful display issue. FYI - if you make the menu invisible at startup, then call it from an image positioned in a nested table on the page in Netsacape 4, it will crap out. Once I removed the calling image from from the nested table, it worked fine. So I placed the buttons in the menu script and absolutely positioned the menu on the pagem using a spacer to allocate the menu area on the page.

Now, one small bug remains.

In Netscape 4, the menu displays and works properly, but it is not displaying the right background color for the menu "off" state. It's using the menu "on" background color instead and it looks funky. Anyone encounter this issue or have any theories?

Got it!


Poster: DesertFox07
Dated: Wednesday August 7 2002 - 20:53:28 BST

Ok, don't know if this is documented anywhere, but I fixed my final problem. process of elimination revealed the source of the problem.

The problem: When viewing the pop-up menus in Netscape 4.x, the menus offbackcolor and onbackcolor properties were being incorrectly overridden by an unknown force.

The culprit. Again, I don't know if this is documented, but in Netscape 4.x, if the <SCRIPT> tags that include the mmenus.js and menu property js files are within a table cell with a bgcolor or background attribute, the menus on and off back color properties are overridden with that value.

The Solution: I moved the two <SCRIPT> tags out of the table cell into just the plain body area, and the menu colors began working fine.

So word to the wise, put the two SCRIPT tags in the body of the document outside any tables. Also, I learned that you cannot to add them to a page using document.write in Netacape 4.x or 6.x.