How to detect mouse pointer in scroll bar on Mouseleave event in Javascript

I have to show an alert while the mouse leaves the window, I tried with mouseleave event, but the alert is showing when i move the pointer to the scrollbar also. I have to show the alert when the mouse reaches outside the window (while i try to navigate to other tabs) but not on scrollbars.

Kindly help me to solve the issue



Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.