diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2011-05-02 13:11:58 +0200 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2011-05-02 13:11:58 +0200 |
commit | a03c222f05aa2364189d264377e0a19da4d4c9ad (patch) | |
tree | 9dbc9ba987a02504d99792d0728b6a8154089937 /demos/tooltip | |
parent | 3bb9ab262670328de9eb9a97892e9cf85c55c7d9 (diff) | |
download | jquery-ui-a03c222f05aa2364189d264377e0a19da4d4c9ad.tar.gz jquery-ui-a03c222f05aa2364189d264377e0a19da4d4c9ad.zip |
Tooltip: Overhaul widget animations code to allow delay with plain show/hide
Diffstat (limited to 'demos/tooltip')
-rw-r--r-- | demos/tooltip/custom-animation.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/demos/tooltip/custom-animation.html b/demos/tooltip/custom-animation.html index d0689a0eb..ef8857979 100644 --- a/demos/tooltip/custom-animation.html +++ b/demos/tooltip/custom-animation.html @@ -17,8 +17,8 @@ delay: 250 }, hide: { - effect: "slideUp", - delay: 500 + effect: "hide", + delay: 250 } }); }); @@ -47,7 +47,9 @@ <div class="demo-description"> -<p>Here the tooltips are positioned relative to the mouse, and follow the mouse while it moves above the element.</p> +<p>This demo shows how to customize animations. The tooltip is shown, after a +delay of 250ms, using a slide down animation, and hidden, after another delay, +without an animation.</p> </div><!-- End demo-description --> |