Sunday, July 13, 2014

jQuery: How to Detect When Mouse Enters Left Third of Window?

I need to detect when the mouse enters the left third (33%) of the browser window and detect when it leaves. I'm assuming it's a combination of either mousemove() or mouseenter() and pageX. Correct? Something like this?

Code:var thirdOfWindow

No comments:

Post a Comment