aboutsummaryrefslogtreecommitdiffstats
path: root/demos/tooltip
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2011-04-21 14:30:42 +0200
committerjzaefferer <joern.zaefferer@gmail.com>2011-04-21 14:30:42 +0200
commit3bb9ab262670328de9eb9a97892e9cf85c55c7d9 (patch)
treecf4101b64c30d93af925d652e13efdda02c029d1 /demos/tooltip
parent3950a0515d58a8af2840f419bcd5cb8fd28b4de2 (diff)
downloadjquery-ui-3bb9ab262670328de9eb9a97892e9cf85c55c7d9.tar.gz
jquery-ui-3bb9ab262670328de9eb9a97892e9cf85c55c7d9.zip
Tooltip: Add support for delaying showing/hiding. Still need to figure
out how to combine that with non-animated show/hide.
Diffstat (limited to 'demos/tooltip')
-rw-r--r--demos/tooltip/custom-animation.html6
1 files changed, 4 insertions, 2 deletions
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
}
});
});