Click to See Complete Forum and Search --> : Help with horizontal menu mouseover


marshmellow
12-17-2003, 06:11 PM
See menu code at www.alohamarketing.com/BdTest/about.htm.

The submenu horizontal line for a main topic is to stay on the screen unless another main menu button is moused over. Then the submenu for that main item should appear. When the mouse is not on any menu item, the submenu for the main topic should reappear.

Problem: When the mouse goes DOWN over the menu bar it works fine. But, if the mouse goes UP above the menu bar it doesn't. The last submenu stays on the screen. Does anyone know how to control mouse down versus mouse up?

Must mention I'm a green weenie when it comes to javascript but have had great success using examples available online.

Pittimann
12-18-2003, 03:11 AM
Hi!

Your problem is, that you make the submenu disappear when mouseovering the "blank.gif" below the submenu divs. You don't have anything like that when moving your mouse upwards. You can simply achieve that, by adding
onMouseOver="changeActive(1);" to the table tag containing the background image "images/banner_hdr_block.jpg"...

Cheers - Pit

marshmellow
12-18-2003, 11:43 AM
Seems so simple and yet it works! Thanks so much!

Pittimann
12-18-2003, 11:53 AM
Hi!

You're welcome!

Have a nice xmas etc!! Cheers - Pit

David Harrison
08-29-2004, 07:22 AM
Please do not cross post, there was an almost identical copy of this thread in the DHTML forum until just a few moments ago.