a non-geek's blog

Random notes on linux and web development

Archive for the ‘dojo’ Category

DOJO: Opening menu item on mouseover when using dijit.MenuBar

with 5 comments

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){


       if(this.focusedChild.popup && !this.focusedChild.disabled){

Source: here

Bookmark and Share

Written by nongeekboy

April 27, 2010 at 11:57 am

Posted in dojo

Tagged with , ,


Get every new post delivered to your Inbox.

Join 274 other followers