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

php and 2 menus per page


Poster: dor1979
Dated: Sunday July 20 2003 - 19:09:39 BST

hi, i was wondering if anyone could help me. At the moment i have a php code that calls a header.inc file. In this file i have
<SCRIPT language=JavaScript src="menu_array.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript src="mmenu.js" type=text/javascript></SCRIPT>
This brings up the menu fine. BUT i want to a second menu to appear on left hand side of my screen. So i call a file left.inc that has
<SCRIPT language=JavaScript src="menu_array2.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript src="mmenu2.js" type=text/javascript></SCRIPT>
in it. When i run it i get a "stack overflow" error message. CAN anyone help,
ps i am new to this game

2 menus per page


Poster: jpierce
Dated: Friday July 25 2003 - 16:04:38 BST

dor1979 - Did you figure out how to get 2 menus at the same time yet?
If not this might help. First, I don't think you need the mmenu2.js file.
In your header.inc type ...
<SCRIPT language=JavaScript src="menu_array2.js" type=text/javascript></SCRIPT>

In your menu_array2.js file delete or rem out the line that starts with
menunum=0; .....

That should do it. Let me know if this helps.


Poster: Twill
Dated: Saturday July 26 2003 - 12:20:37 BST

I wouldnt know how to get the PHP thing working, but I have 4 menu arrays running on my site...let me know if I can help with the order of things :)