This is a javascript function that will return the current cursor position on the browser window. This java script can be used in any html page.
Features
This javascript function will return current mouse cursor position in the browser window.
We use two functions to get the result. The function init() is used to initialize event handler and capture mouse events in IE (Internet Explorer) and Mozilla (netscape).
Function getXY() gets the x and y axis values on cursor position in the browser window size.
Just copy the code in to your page and enjoy the effect.