pageX: 頁面X坐標(biāo)位置
pageY: 頁面Y坐標(biāo)位置
screenX: 屏幕X坐標(biāo)位置
screenY: 屏幕Y坐標(biāo)位置
clientX: 鼠標(biāo)的坐標(biāo)到頁面左側(cè)的距離
clientY: 鼠標(biāo)的坐標(biāo)到頁面頂部的距離
clientWidth:可視區(qū)域的寬度
clientHeight:可視區(qū)域的高度
offsetX:鼠標(biāo)坐標(biāo)到元素的左側(cè)的距離
offsetY:鼠標(biāo)坐標(biāo)到元素的頂部的距離
offsetLeft: 該元素外邊框距離包含元素內(nèi)邊框左側(cè)的距離
offsetTop:該元素外邊框距離包含元素內(nèi)邊框頂部的距離
offsetWidth: width + padding-left + padding-right + border-left + border-right
offsetHeight: height + padding-top + padding-bottom + border-top + border-bottom
offsetParent: 包含元素
可以通過定位改變包含元素