In fact, itโs a little difficult to use things like โhoverโ or โhoverIntentโ directly using delegate (), because hovering is not an ACTUAL event, but it consists of two different events: mouseenter and mouseleave . Therefore, the freeze is actually a pseudo-event. This information can be found here: http://api.jquery.com/hover/
Now about handling pseudo-events: This should work, and the code also needs no explanation. Suppose you need to bind hoverIntent to #child
$('#parent').delegate( '#child', 'hoverIntent', function (evt) { if (evt.type === 'mouseenter') $(this).find('.tooltip').fadeIn(); else $(this).find('.tooltip').hide(); });
Hope this helps .: D
source share