Help with flyout menus

Discussion in 'Javascript' started by aerotops, Sep 14, 2006.

  1. aerotops

    aerotops Guest

    I am having a tough time coding a fly out vertical menu.
    The one I have currently is CSS based using hover to display the level
    2 menus. The requirement changed such that the menu should fly out not
    on mouse-over (hover), but onClick. I have coded that part too.

    When I click on a level 1 item, the level 2 item flys out as expected.
    If I click on the SAME L1 item again, its hidden again. Same goes for
    if a L2 item is visible and I click on the L2 item.

    The problem is that I would like for the menu to hide when I click
    anywhere else on the document which is not happening right now.

    I would appreciate any pointers or links to code samples.
     
    aerotops, Sep 14, 2006
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. news.west.cox.net

    Select menus above flyout menus? help?

    news.west.cox.net, Dec 8, 2004, in forum: HTML
    Replies:
    8
    Views:
    1,073
  2. Gordon3d

    Vertical Navigation Flyout

    Gordon3d, Aug 18, 2007, in forum: HTML
    Replies:
    1
    Views:
    795
    Nick Theodorakis
    Aug 18, 2007
  3. adjusted

    flyout menu help needed

    adjusted, May 19, 2009, in forum: HTML
    Replies:
    2
    Views:
    663
    Jonathan N. Little
    May 19, 2009
  4. MrPhilHill

    Flyout navigation script help

    MrPhilHill, Aug 19, 2003, in forum: Javascript
    Replies:
    0
    Views:
    171
    MrPhilHill
    Aug 19, 2003
  5. Philip Townsend

    problems with flyout menus and positioning

    Philip Townsend, Sep 30, 2003, in forum: Javascript
    Replies:
    1
    Views:
    175
  6. SpamProof
    Replies:
    0
    Views:
    333
    SpamProof
    Jan 25, 2004
  7. Todd Cary

    Flyout menus

    Todd Cary, Feb 2, 2005, in forum: Javascript
    Replies:
    1
    Views:
    181
  8. Flyout link problem

    , Jan 11, 2006, in forum: Javascript
    Replies:
    1
    Views:
    139
Loading...