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:
http://www.hannabery.com/temp/test2menu.shtml
Can someone explain the proper procedure?
Thanks,
Scott
Getting 2 menus on same page
-
- Beginner
- Posts: 1
- Joined: Sun May 19, 2002 7:24 pm
Re: Getting 2 menus on same page
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).
John
<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).
John
-
- Beginner
- Posts: 4
- Joined: Sun May 19, 2002 7:23 pm
Re: Getting 2 menus on same page
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!
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.
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.
Cheers
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.
Cheers