Skip to content

Instantly share code, notes, and snippets.

@robertbasic
Created March 15, 2011 20:31
Show Gist options
  • Save robertbasic/871410 to your computer and use it in GitHub Desktop.
Save robertbasic/871410 to your computer and use it in GitHub Desktop.
multiple dijit.tooltip
var ttids = Array();
dijit.showTooltip=function(_a,_b,_c,_d){
if(!ttids[_b.id]){
ttids[_b.id]=new dijit._MasterTooltip();
}
return ttids[_b.id].show(_a,_b,_c,_d);
};
dijit.hideTooltip=function(_e){
if(!ttids[_e.id]){
ttids[_e.id]=new dijit._MasterTooltip();
}
return ttids[_e.id].hide(_e);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment