Returns the position of the mouse hit relative to the size of the client area of the window. This does not include window decorations or scroll bars
event.x
Returns the position of the mouse hit relative to the element in the parent hierarchy that is positioned using the CSS positioning attribute. If no element in the hierarchy has been positioned, the BODY element is the default.