EN
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.

offsetX property

Gets the x-coordinate of the mouse pointer, relative to the target node.

Internet Explorer 9

 

Syntax

JavaScript

p = object.offsetX

 

Property values

Type: Integer

The x-coordinate.

Standards information

Remarks

Offset coordinates include the padding of an element, but not its margin or border.

See also

DragEvent
MouseEvent
MouseWheelEvent
WheelEvent
Reference
clientX
pageX
screenX
x

 

 

표시:
© 2014 Microsoft