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:31

Netscape woes...please help!


Poster: abevans
Dated: Friday July 19 2002 - 0:32:01 BST

The menu is working perfectly in IE, but is not appearing in Netscape 6.2.

I am using this in the header:

<SCRIPT language=JavaScript src="menu_array.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript src="mmenu.js" type=text/javascript></SCRIPT>

And this in the body:

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="161"><a href="index2.htm"><img src="images/logobottom.gif" width="161" height="20" border="0" alt="Logo"></a></td>
<td width="20"><img src="images/menuleftedge.gif" border="0"></td>
<td background="images/menupattern.gif"><script>PlaceMenu("mainmenu")</script>&nbsp;</td>
</tr>
</table>

Please check http://www.reliancenet.com/aboutus.htm

Thanks!


Poster: sbueffel
Dated: Friday July 19 2002 - 17:44:04 BST

Netscape sucks, doesn't it? Have you tried putting the menu it's own table within the table?

<table><tr><td><table><tr><td><script>PlaceMenu("mainmenu")</script>&nbsp;</td></tr></table></td></tr></table>

I believe users have discovered that with NN the menu likes to be the only thing in a table.


Poster: abevans
Dated: Friday July 19 2002 - 20:30:10 BST

Good idea, but it still doesn't work... :(

http://www.reliancenet.com/aboutus.htm


Poster: sbueffel
Dated: Friday July 19 2002 - 21:08:37 BST

What about putting the calls to the array and code files in the body instead of the head?


Poster: abevans
Dated: Friday July 19 2002 - 21:20:10 BST

Well, that's weird.

After trying sbueffel's second suggestion, the menu is generating an error in IE (works fine, but there's a pop up error that says "Stack overflow at line: 487".

And, here's the weird part...

In Netscape, I only get the last item on the menu. That button does not have a drop down, so I can't tell if it's working or not...

Any ideas?


Poster: sbueffel
Dated: Friday July 19 2002 - 22:17:27 BST

The stack overflow...I remember getting that...why does that happen?....I thought it has to do with the load order. Make sure you call the menu before you actually load it in the table. I'll go look....


Poster: sbueffel
Dated: Friday July 19 2002 - 22:21:14 BST

It's because you are calling the menu more than once. You still have to take it out of the head.


Poster: abevans
Dated: Saturday July 20 2002 - 12:38:08 BST

Ick. You were right...it was because I forgot to delete the script from the header. When I did that, the error stopped, but the menu disappeared in IE too! Dang!

I put it back the way it was. Darn it! Now I don't know what to do! :x