Scott Baker
Member since Mar 8, 2010
- Profile: /members/5604-scott-baker.htm
- URL: http://www.perturb.org
- Comments: 1
Recent Blog Comments By Scott Baker
-
jQuery Mouse Events: PageX/Y vs. ClientX/Y
Posted on Mar 8, 2010 at 7:13 PM
I've been trying to find a way to determine the X/Y mouse coordinates in relation to a given element. That way I could tell if my mouse is the left 50% of a given <div>, or the top 33% of a given image and show/hide things appropriately. Is there a way to extrapolate the pageX/Y into coords r... read more »