remove hack in hoverhelp that isn't needed with new YUI

This commit is contained in:
Graham Knop 2008-02-26 23:28:23 +00:00
parent 01cd5676e5
commit f1d34cf72b
2 changed files with 2 additions and 15 deletions

View file

@ -1,5 +1,4 @@
.wg-hoverhelp { .wg-hoverhelp {
display: none;
background-color: #e6ecff; background-color: #e6ecff;
border: 1px solid #003399; border: 1px solid #003399;
color: #000066; color: #000066;
@ -8,16 +7,10 @@
font-weight: normal; font-weight: normal;
padding: 3px; padding: 3px;
width: 300px; width: 300px;
top: 0px; z-index: 100 !important;
left: 0px; display: none;
z-index: -1;
} }
.wg-hoverhelp.yui-tt { .wg-hoverhelp.yui-tt {
display: block; display: block;
} }
.wg-hoverhelp-visible {
z-index: 100 !important;
}

View file

@ -9,12 +9,6 @@ YAHOO.util.Event.onDOMReady(function () {
autodismissdelay: 1000000, autodismissdelay: 1000000,
context: tips[i].parentNode 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');
});
} }
}); });