To clarify what you are trying to accomplish...when you hover over a main menu item, you do not want the sub menu to display? Or you do want the sub menu to display, but using javascript rather than css?
On Wed, May 20, 2009 at 10:45 AM, [email protected] < [email protected]> wrote: > > Hi, > > I ve got a menu bar with nested menus realized with css hover effects, > which works perfect. > > Now, I ve tried to switch the "actions" behind my menu items to ajax > calls. > That part is working also... > However, the submenu is still visible cause the mouse pointer is still > over that specific menu item. > > Does anybody know how I might trigger an unhover??? > > I ve tried already a javascript based solution using prototype > setStyle function, but it is not working as expected, the menu is > hidden,but will never be shown again on a new hover. :-( > > Firebug is showing me the following. it seems prototype did not change > the detailled css selector, but instead added a just a new one > (element.style) : > element.style { > display:none; > } > .mcmenuItemList ul ul { > border:0 none; > display:none; > left:0; > list-style-image:none; > list-style-position:outside; > list-style-type:none; > margin:0; > padding:0; > position:absolute; > top:24px; > width:160px; > } > > Thanks a lot in advance. > Volker > > > > -- Thanks, Andy Baughman --~--~---------~--~----~------------~-------~--~----~ -- You received this because you are subscribed to the "Design the Web with CSS" at Google groups. To post: [email protected] To unsubscribe: [email protected] -~----------~----~----~----~------~----~------~--~---
