Login Register

Tooltip on disabled buttons

Hi, I noticed the dijit tooltip doesn't show if the connect node, e.g. a button or toolbar button is disabled. Looks like events like onMouseOver, onFocus etc aren't even called for disabled buttons.

I need to fix this since we want to show the tooltips even for disabled functions. Any suggestions?

Thanks!
/ Stefan

You could position a

You could position a transparent image over the disabled button and attach the tooltip to that. Use dojo.coords() to find it's absolute position.