JavaScript/Working with the mouse
JavaScript Console测试
编辑测试x,y
window.onmouseover = function(){document.title = [event.x,event.y];};
测试offsetX,offsetY
window.onmouseover = function(){document.title = [event.offsetX,event.offsetY];};
测试clientX,clientY
window.onmouseover = function(){document.title = [event.clientX,event.clientY];};
测试pageX,pageY
window.onmouseover = function(){document.title = [event.pageX,event.pageY];};