help with making drop down menu

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John Doe

    help with making drop down menu

    I've made this simple menu using a javascript :


    If I select one of the menu items the submenu appears just fine, my only
    problem is that If I point the mouse curser away from the whole menu the
    submenu is still shown, obviously if I click once with the mouse outside the
    menu the submenu disappears. So I need some kind of remove-submenu function
    when the mouse pointer is not pointing on menu\submenu. Any advice on how to
    do this would be great.


  • steve stevo

    #2
    Re: help with making drop down menu

    Use an onmouseout event handler on the 'drop down' layer to change layers
    visibility to hidden or lower z index

    "John Doe" <johndoe@email. com> wrote in message
    news:3f79867e$1 @news.broadpark .no...[color=blue]
    > I've made this simple menu using a javascript :
    > http://larsandre.mine.nu/menu.htm
    >
    > If I select one of the menu items the submenu appears just fine, my only
    > problem is that If I point the mouse curser away from the whole menu the
    > submenu is still shown, obviously if I click once with the mouse outside[/color]
    the[color=blue]
    > menu the submenu disappears. So I need some kind of remove-submenu[/color]
    function[color=blue]
    > when the mouse pointer is not pointing on menu\submenu. Any advice on how[/color]
    to[color=blue]
    > do this would be great.
    >
    >[/color]


    Comment

    Working...