Proper hoverhelp grey area fix
This commit is contained in:
parent
0f3505a46f
commit
886677c8ce
2 changed files with 12 additions and 3 deletions
|
|
@ -5,7 +5,13 @@ YAHOO.util.Event.onDOMReady(function () {
|
|||
var myTip = new YAHOO.widget.Tooltip(tips[i], {
|
||||
autodismissdelay: 1000000,
|
||||
context: tips[i].parentNode
|
||||
});
|
||||
});
|
||||
myTip.beforeShowEvent.subscribe(function() {
|
||||
YAHOO.util.Dom.addClass(this.element, 'wg-hoverhelp-visible');
|
||||
});
|
||||
myTip.beforeHideEvent.subscribe(function() {
|
||||
YAHOO.util.Dom.removeClass(this.element, 'wg-hoverhelp-visible');
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue