I\'m using this code in my site and I was wondering how I could add a delay to the mouseleave function
$target.mouseenter(function(e){ var $t
You can use setTimeout() and an anonymous function for this:
$target.mouseleave(function(e){ var $tooltip=$("#"+this._tipid); setTimeout(function() { ddimgtooltip.hidebox($, $tooltip); }, 250); })
This would delay it 250ms after leaving before it hides, you can just adjust that value as needed.