Results 1 to 5 of 5

Thread: HV Menu-Using Multiple Menus

  1. #1
    Join Date
    Sep 2004
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question HV Menu-Using Multiple Menus

    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.

  2. #2
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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

    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

    cr3ative
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  3. #3
    Join Date
    Sep 2004
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Use an iframe

    Try putting the horizontal in an iframe and see if that works, it will display the
    same over the content below it so long as that also goes into the same iframe. The vertical menu left on the main page, outside of the iframe should be able to go across it. However, check it out how Opera handles DHTML and javascript across iframes, you may decide to use another aproach to your problem. Many people are using other browsers now and if your navigation isn't there, you have a real bad problem.

    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.

  4. #4
    Join Date
    Nov 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi all,

    has anyone solved this issue with using mutiple instances of the menu?

    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

    Cheers,
    QD
    Last edited by quedee_au; 11-10-2005 at 06:59 AM.

  5. #5
    Join Date
    Dec 2005
    Location
    Upstate NY
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up HV Menu - simultaneous H and V on the same page

    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.
    BCD

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •