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:35
Two menus on the same form?
Poster: Brad
Dated: Wednesday June 12 2002 - 17:14:32 BST
I have one menu that is my main menu and shows on every page. Then I want to add a second menu that floats down the page as the user scrolls. This menu will change several time throughout my website. The problem is when I add the script to my webpage it does not show. But if I remove the script for my main menu then it works. How can I make both scripts work at the same time. I have "ALWAYS VISIBLE" set to 1 on each of them. Both menus will work, if I remove the reference to the other on my webpage.
Thx
Poster: John
Dated: Wednesday June 12 2002 - 18:45:03 BST
Set up a new array file for each of your different menu systems. Just give each file a different name (menu_array1.js, menu_array2.js, or whatever) and call them as needed.
Poster: 4viggo
Dated: Thursday June 13 2002 - 8:27:53 BST
Have you removed the lines in the array file that follow this line:
"The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files"
regards
4viggo