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: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:53

Two menus


Poster: Croft Storm
Dated: Saturday December 6 2003 - 21:56:49 GMT

I tried putting two menus on 1 page but I got a 'stack overflow' error. is there any way of getting round this?


Poster: John
Dated: Sunday December 7 2003 - 1:52:34 GMT

Post a URL (as requested) so we can see your code.


Poster: Croft Storm
Dated: Sunday December 7 2003 - 14:05:29 GMT

http://croftstorm.uni.cc


Poster: Croft Storm
Dated: Sunday December 7 2003 - 14:06:30 GMT

Ok, the error is here: http://croftstorm.uni.cc


Poster: John
Dated: Monday December 8 2003 - 2:46:11 GMT

You are running v3.5.15 of the code, which is no longer supported (and why your topic was moved to the proper location). I would suggest an upgrade to the new v5 series.


Poster: pstarkey __at__ cinergy.com
Dated: Monday January 19 2004 - 17:57:22 GMT

Can anyone answer the actual post other than saying to upgrade? Supposedly two menus on one page was OK in version 3.

Thanks!


Poster: Andy
Dated: Monday January 19 2004 - 17:59:37 GMT

Yes it is possible but we don't support v3 anymore, that's why we ask you to upgrade.

From memory my guess is that you are loading mmenu.js twice, you only need one copy of it.

Cheers
Andy


Poster: Ruth
Dated: Tuesday January 20 2004 - 1:17:55 GMT

What I see on your site is that you are running version 5, not 3. And, yes you can run two menus. I see you have milonic and also a menu from dynamicdrive, so did you mean those two or where you referring to running two milonic menus? I did look at your source code and noted that it shows two codes for menu_data.js. I'm not sure if they are supposed to refer to two different menu files or if somehow the site is generating that code twice?
Code:
<SCRIPT language=JavaScript src="milonic_src.js" type=text/javascript></SCRIPT> etc. and then <SCRIPT language=JavaScript src="menu_data.js" type=text/javascript></SCRIPT>

<SCRIPT language=JavaScript src="menu_data.js" type=text/javascript></SCRIPT><SCRIPT language=JavaScript src="contextmenu.js" type=text/javascript></SCRIPT>
If they are supposed to refer to two different menu data files they need different names. If you are speaking about the other menu not showing up..the one that says welcome...I think it must have something to do with the frames, because opening just the mainsplash shows that menu, but your main page from the link gives two error messages both saying access is denied and that menu does not show up
Code:
Line 204 char 2 access is denied mainsplash.htm  and line 39 char 2 access is denied mainsplash.htm



Ruth


Poster: John
Dated: Tuesday January 20 2004 - 15:40:32 GMT

Moved back because you upgraded to v5 (thank you). Don't forget to include your license number in the requested spot in the code files.

Ruth is correct about the double call to menu_data.js. One of those needs to go.