From 481458e0753ad24803c71b3323800510a2598516 Mon Sep 17 00:00:00 2001 From: Jonas Arnklint Date: Mon, 12 Oct 2009 19:31:01 +0200 Subject: [PATCH] Delay option added --- jquery.simple-tooltip.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jquery.simple-tooltip.js b/jquery.simple-tooltip.js index f209837..dd7204d 100644 --- a/jquery.simple-tooltip.js +++ b/jquery.simple-tooltip.js @@ -17,6 +17,7 @@ Originally extracted from the easy to use CMS Venio at http://venio.se. if(titleDisplayed.length>0){ $("body").append("

"+titleDisplayed+"

"); $("#v-tooltip") + .animate({opacity: 1.0}, opts.delay) .css("top",(e.pageY - opts.xOffset) + "px") .css("left",(e.pageX + opts.yOffset) + "px") .fadeIn("fast"); @@ -37,6 +38,7 @@ Originally extracted from the easy to use CMS Venio at http://venio.se. title: null, xOffset: 10, yOffset: 20, + delay: 400, overrideElementTitle: false } })(jQuery); \ No newline at end of file