E
egebamyasi
I have been trying to find the mouse coords when I move the pointer
over a div/image/etc... When I try e.clientX, e.clientY I retrieve the
mouse coords relative to the browser window. This is okay but
unfortunately when I scroll down the contents change position while the
coords stay the same. Is there any way around this?
over a div/image/etc... When I try e.clientX, e.clientY I retrieve the
mouse coords relative to the browser window. This is okay but
unfortunately when I scroll down the contents change position while the
coords stay the same. Is there any way around this?