Reputation: 53
I want to close the window when mouse moves out of window boundary.
I have a parent window and I am creating a new child window using window.showModelessDialog
I want to close this child window (window.showModelessDialog
) when mouse moves out of the child window.
I have tried my luck with window.onMouseLeave
, window.onmouseout
but it doesn't fires up.
When I attached mouseout
with document it worked but I want to cover window boundary.
Any help on this will be very helpful
Upvotes: 2
Views: 1182
Reputation: 114347
The window object does not support this event.
See: http://www.javascriptkit.com/jsref/window.shtml
Upvotes: 1