View Full Version : HV Menu-Using Multiple Menus
09-08-2004, 11:54 AM
I would like to use the HV menu twice on a page (a horizontal menu and a vertical menu). I read the Q&A on this subject, however I had no success. Please help. Thank you.
09-08-2004, 02:41 PM
I've failed - stack overflows :(
I tried copying the two js files to different names and inserting the script twice under the different names. No such luck :p
They may well both be trying to access the same menu which is there twice, giving it a right headache.
I'll keep trying, i'll get there eventually :D
09-11-2004, 09:17 PM
Try putting the horizontal in an iframe and see if that works, it will display the
Iframes don't solve every problem, but it is an idea to try when nothing else seems to work. Test your original script in the browsers you test in first to be sure it is worth the effort you are going to make. Menus are time consuming. Nothing feels so bad as to have spent so much time and find that it just won't work anyway in a browser that has a good following.
11-10-2005, 06:49 AM
has anyone solved this issue with using mutiple instances of the menu? :confused:
Basically I'd like to use 2 horizontal menus (images) layered out the following:
img1 | img2 | img3
img4 | img5 | img6
I have tried the following:
1. Calling the js scripts twice on one page and results in stack overflow
2. Making a copy of the 2 js scripts, renaming and calling the first pair of scripts for the first menu, call the second pair of scripts for the second menu and again resulting in stack overflow
I also want to avoid using iframe as my menu is dynamic generated and would have to consider width, height etc for the iframe.
If anyone can help, it would be very much appreciated :D
01-28-2006, 08:08 PM
This can work well.
You need two completely different sets of the scripts (I use external file references). In the definitions, you must rename the variables so that none of them are used in the other script. We use a _H and _V modifier to differentiate.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.