From f1d34cf72b72bf2c65d436c7063047e2a70a2b74 Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Tue, 26 Feb 2008 23:28:23 +0000 Subject: [PATCH] remove hack in hoverhelp that isn't needed with new YUI --- www/extras/hoverhelp.css | 11 ++--------- www/extras/hoverhelp.js | 6 ------ 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/www/extras/hoverhelp.css b/www/extras/hoverhelp.css index 5852df16e..943e3f853 100644 --- a/www/extras/hoverhelp.css +++ b/www/extras/hoverhelp.css @@ -1,5 +1,4 @@ .wg-hoverhelp { - display: none; background-color: #e6ecff; border: 1px solid #003399; color: #000066; @@ -8,16 +7,10 @@ font-weight: normal; padding: 3px; width: 300px; - top: 0px; - left: 0px; - z-index: -1; + z-index: 100 !important; + display: none; } - .wg-hoverhelp.yui-tt { display: block; } -.wg-hoverhelp-visible { - z-index: 100 !important; -} - diff --git a/www/extras/hoverhelp.js b/www/extras/hoverhelp.js index 2a275761b..4be2073d6 100644 --- a/www/extras/hoverhelp.js +++ b/www/extras/hoverhelp.js @@ -9,12 +9,6 @@ YAHOO.util.Event.onDOMReady(function () { 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'); - }); } });