From 67d49f593bb34f10751421a51c8e13d42bc1b16e Mon Sep 17 00:00:00 2001 From: jzaefferer Date: Wed, 13 Apr 2011 14:01:46 +0200 Subject: [PATCH] Overhaul tooltip implementation. Avoid queuing and other problems by creating the tooltip element on the fly, never reusing it. Use aria-describedby attribute to find the associated tooltip again. Allows customizing animations much easier (just replace fadeIn/fadeOut), still open. Updated demos and visual test to replace now-missing .widget() method. Added tooltipClass for that. --- demos/tooltip/custom-animation.html | 7 +- demos/tooltip/index.html | 1 + demos/tooltip/tracking.html | 13 ++- tests/visual/tooltip/tooltip.html | 25 +++--- ui/jquery.ui.tooltip.js | 130 +++++++++++++++------------- 5 files changed, 95 insertions(+), 81 deletions(-) diff --git a/demos/tooltip/custom-animation.html b/demos/tooltip/custom-animation.html index a9d0df66e..a9745a062 100644 --- a/demos/tooltip/custom-animation.html +++ b/demos/tooltip/custom-animation.html @@ -11,12 +11,15 @@ +