Get the cursor postion in Browser
<script language="javascript">
document.onmousemove=currMousePositionOnScreen;
function currMousePositionOnScreen(event)
{
e = event || window.event;
var x=e.pageX;
var y=e.pageY;
}
</script>
document.onmousemove=currMousePositionOnScreen;
function currMousePositionOnScreen(event)
{
e = event || window.event;
var x=e.pageX;
var y=e.pageY;
}
</script>
Comments
Post a Comment