I would like to have a tooltip that only comes up when you click a text link (but does nothing on hover). I know this is easy to do with jquery, but I have to use dojo. I've tried to declare a new tooltip class with "attachHover: false;" but it breaks when I declare the class so I assume this is wrong:
dojo.declare("clickTooltip", digit.Tooltip, {
markupFactory: function(){
return new clickTooltip();
},
attachHover: false;
}
});
Please let me know if there is an easier way, or if you have any pointers to fix the above code.
Thanks