在 IE 中,event 对象有下列属性:
clientX/clientY:相对于窗口客户区的坐标
offsetX/offsetY:相对于引发鼠标事件的对象的坐标
screenX/screenY:屏幕坐标
x/y:相对于父对象的坐标相关的属性:
altKey
button
cancelBubble
ctrlKey
keyCode
srcElement
shiftKey
toElement
clientX/clientY:相对于窗口客户区的坐标
offsetX/offsetY:相对于引发鼠标事件的对象的坐标
screenX/screenY:屏幕坐标
x/y:相对于父对象的坐标相关的属性:
altKey
button
cancelBubble
ctrlKey
keyCode
srcElement
shiftKey
toElement
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货