Posts by Celso Sá • 41 points
2 posts
-
0
votes1
answer51
viewsQ: Problem with "mouseleave" and its reaction with SVG images
On the site there is a popup that in case should only appear when the person takes the mouse from the site area. But it was appearing when clicking a button that jQuery('body').mouseleave(function()…
-
3
votes1
answer130
viewsQ: Problem with jQuery mouseleave function for popup shooting
I’m using the function mouseleave to open a popup when the user moves the mouse out of the site. That is the code: jQuery('body').mouseleave(function() { if (!jQuery('body').hasClass('leave-on')…