Questions tagged [mouseleave]

For issues relating to setting up, subscribing to, or handling mouseleave events.

Mouseleave is an event that fires when the user moves the mouse out of the element you registered the event on.

525 questions
7
votes
4 answers

Jquery: How to add a delay to mouseleave so if someone accidentally hovers off the element unintentionally, it still stays open

THE hoverintent plugin is the opposite of what I need. I have a .popup that is triggered by .trigger, when i hover off of it, i want .popup to NOT fadeout for a few seconds, but if I hover off, then hover on again, cancel the fadeout that was going…
android.nick
  • 11,069
  • 23
  • 77
  • 112
6
votes
1 answer

Detect from which side the mouse left a div

I modified the code of the best answer of another question (which aimed to detect from which side the mouse entered a div) in order to make it detect from which side the mouse left a div. Here is the my code. I changed the log to display in the…
Ian Y.
  • 2,293
  • 6
  • 39
  • 55
6
votes
2 answers

How to achieve mouseleave effect with absolutely-positioned non-descendants?

One problem with the standard mouseout event is that it fires not only when the cursor leaves the region of the screen bounded by the element's external perimeter, but also when the cursor hovers over some other element contained within this…
kjo
  • 33,683
  • 52
  • 148
  • 265
6
votes
2 answers

Detect when the mouse leaves the top of the viewport?

I want to detect when the mouse leaves the viewport on top (to the north so to say). I searched the net and came up with How can I detect when the mouse leaves the window?. Is a good start, but it also detects when the mouse leaves to other…
user4095519
  • 271
  • 1
  • 5
  • 12
6
votes
5 answers

Funky jQuery mouseleave behavior

I have a menu-like drop down container that hides via binding the "mouseleave" event.