Removing focus highlighting from menu items on mouseleave event

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Removing focus highlighting from menu items on mouseleave event

Salvatore Salpietro
Hello,

Regarding these two widgets
    "dijit/Menu",
    "dijit/MenuItem",

And this question
http://dojo-toolkit.33424.n3.nabble.com/How-do-I-unfocus-the-menu-items-in-a-menu-td1597856.html

Has any further enhancement been done to the menus to allow for the menu items to be unfocused when mouse cursor leaves the menu (similar to how context menus work on Firefox and Chrome)?

What methods and properties are currently used to set the focus highlight for menu item on 'mouseenter'?  What is the recommended way to do the opposite on 'mouseleave' event (in order to achieve the same effect as the Firefox/Chrome context menu)?

Thanks
--
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

[hidden email]
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest