Jquery Show/Hide on mouse
This is a simple function that hides an item when the mouse leaves. The object can be visible initially and will only dissapear once the mouse has entered AND left.
$('div.mouse.LeaveHide').on({ mouseover:function(e){ $(e.target).one({ mouseleave:function(e){ $(e.target).hide(); } }); } });
Leave a Reply