OP gave the HTML element (a div ) absolute positioning and was using event.offsetY and event.offsetX to determine the top and left CSS values.
確定! 回上一頁