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

Getting 2 menus on same page

Poster: webmaster __at__
Dated: Thursday May 16 2002 - 19:47:46 BST

Can anyone help me to get 2 menus to work like on this websites homepage?

I have a main horizontal menu accross the top, which works fine. I want to add a vertical menu on left side that scrolls down the page, just like this site uses but nothing I do works.

This is my temporary page:

Can someone explain the proper procedure?


Re: Getting 2 menus on same page

Poster: John
Dated: Thursday May 16 2002 - 21:35:19 BST

Here's how Andy did it...

<SCRIPT language=JavaScript src="/menu/sidemenu_array.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript src="/menu/mmenu_array.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript src="/menu/mmenu.js" type=text/javascript></SCRIPT>

Just set up another menu_array (different name, of course).


Re: Getting 2 menus on same page

Poster: sgray __at__
Dated: Sunday May 19 2002 - 11:13:10 BST

I have done this on my site but have noticed a bug when using Netscape 6.2 and layers.. be interested to know if it works ok for you..

I have the same problem!

Poster: Anonymous
Dated: Monday May 20 2002 - 17:34:31 BST

I am having the EXACT same problem. I have placed the proper code to have both a horizontal and vertical menu and I can't get them BOTH to load. Only the one that is called first loads. I can get them to each work by themselves by changing the order that I call them, cut CANNOT get them to work at the same time. (Using IE5). Any help would be greatly appreciated.

Poster: Andy
Dated: Monday May 20 2002 - 17:48:12 BST

This is probably due to the fact that you have not removed the line of code that sets up the menus in the second array.

What is happening is that your second menu is wiping out the first menu.

You need to remove the line of code that start with

menunum=0;menus=new Array();_d=docum . . .

In the second array.


Poster: Anonymous
Dated: Friday May 24 2002 - 22:47:22 BST

Thaks alot Andy. I was having the same problem and your feedback solved it.