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

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:
    779
  2. adjusted

    flyout menu help needed

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

    Flyout navigation script help

    MrPhilHill, Aug 19, 2003, in forum: Javascript
    Replies:
    0
    Views:
    79
    MrPhilHill
    Aug 19, 2003
  4. Philip Townsend

    problems with flyout menus and positioning

    Philip Townsend, Sep 30, 2003, in forum: Javascript
    Replies:
    1
    Views:
    109
  5. Todd Cary

    Flyout menus

    Todd Cary, Feb 2, 2005, in forum: Javascript
    Replies:
    1
    Views:
    90
Loading...

Share This Page