Responding to the onmousemove event outside of the browser window in IE

Posted by Matthew Lock on Stack Overflow See other posts from Stack Overflow or by Matthew Lock
Published on 2009-11-06T04:01:23Z Indexed on 2010/04/05 13:23 UTC
Read the original article Hit count: 390

In Internet Explorer 7 body onmousemove or document.onmousemove events only seem to fire while the mouse is inside the browser window, not when it's outside. Yet in Firefox the onmousemove event is called correctly when I move outside of the browser window.

How can I setup an event to be called outside of the browser window in IE?

Google Maps does this in IE. If you hold the mouse button down and move the mouse outside of the browser window you can see that the map still moves.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about javascript-events