I need to know how I can stop the mouseleave event when I mouse over another element (link). How to set up a condition that only talks about mouseleave animations if I haven't entered a specific element?
$(activity_link).mouseenter(function() {
$(this).siblings(".delete_place").animate({
"left" : "-28px"
}, 300);
}).mouseleave(function() {
$(this).siblings(".delete_place").animate({
"left" : 0
}, 300);
});
source
share