Mouse Coordinates | JavaScriptSource

Mouse Coordinates

JavaScriptSource Staff Jan 11, 2001
Capture mouse X - Y positions with this easy script. Works much like our Mouse Tracker script, but much simpler! Compatible in Internet Explorer and Netscape versions 4+. Great!

The JavaScript Source: Page Details: Mouse Coordinates

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Command-s). The script is yours!!!


Did you use this script?  Do you like this site?  Please link to us!

Leave a Response

1 comment)

document.body.scrollTop doesn't seem to be working. I'm using IE8 and scrollTop is always 0 (even when the page IS scrolled...)

j Jun 20, 2012