I’m using dojo at the project I’m working on now. One of the problems I encounter when was how to make the menu open when mouse over it. I found a solution on the dojo maillist. Here is the function that does the “magic”:
dijit._MenuBase.prototype.onItemHover = function(item){ this.focusChild(item); if(this.focusedChild.popup && !this.focusedChild.disabled){ this._openPopup(); } };
Source: here
Please tell me the latest developments in the project .. I’d much
What do you want to know?
I have a requirment of in DOJO for Closing menu item on mouseleave when using dijit.MenuBar
Any Suggestions or help would be helpful ??
Update for new versions of Dojo:
div data-dojo-type=”dijit/MenuBar” id=”navMenu” data-dojo-props=’passivePopupDelay: 1, popupDelay: 1′