search for: hidesubmenu

Displaying 1 result from an estimated 1 matches for "hidesubmenu".

2008 Apr 16
3
non-bubbling mouseover/mouseout
...even JavaScript. Alternately, I would want MouseOver and MouseOut to not bubble down to their children. Currently, I have the following code: Event.observe(''menuContainer'', ''mouseout'', function(e){ if (!e.descendantOf(''menuContainer'')) { hideSubmenu( activeSubmenu ); activeSubmenu = ''''; } }); You guessed it. It doesn''t work. I don''t even know how to get access to whatever element the mouse is currently over to check if it is a descendent of ''menuContainer''. It would be really nice...