From 3bb9ab262670328de9eb9a97892e9cf85c55c7d9 Mon Sep 17 00:00:00 2001 From: jzaefferer Date: Thu, 21 Apr 2011 14:30:42 +0200 Subject: Tooltip: Add support for delaying showing/hiding. Still need to figure out how to combine that with non-animated show/hide. --- demos/tooltip/custom-animation.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'demos/tooltip') diff --git a/demos/tooltip/custom-animation.html b/demos/tooltip/custom-animation.html index d32bba0d2..d0689a0eb 100644 --- a/demos/tooltip/custom-animation.html +++ b/demos/tooltip/custom-animation.html @@ -13,10 +13,12 @@ $(function() { $(".demo").tooltip({ show: { - effect: "slideDown" + effect: "slideDown", + delay: 250 }, hide: { - effect: "slideUp" + effect: "slideUp", + delay: 500 } }); }); -- cgit v1.2.3