javascript - What event to use instead of onmouseout to run when mouse is not over the element? -


I want to run a script when I'm not hovering an element, it's something else which in the 'onmouseover' event Was activated before and was disabling some more. So I'm using the onmouseout event to run this script, however, problem is that if I do not leave the element and then leave it, then the script is not running yet. This happens if the example element rotates fast or the window loses the focus. How can I solve this?

Edit: Let me explain it in some other way, what I want is an event when no element is touched by the mouse.

What if you get the whole page (via Code Buddhung) onmouseover Find out, and when it will enter a new element, the element detects that the basic elements that you have seen in the past have been the origin of the current target element, if not it, then you know that it has left the original DOM node Is, even if the onmouseout was fire.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -