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

screenY property

Gets the y-coordinate of the mouse pointer, relative to the upper-left corner of the screen.

Document Object Model (DOM) Level 3 Events Specification, Section 5.2.3Internet Explorer 9

 

Syntax

JavaScript

p = object.screenY

 

Property values

Type: Integer

The y-coordinate.

Standards information

Remarks

Note  Screen coordinates depend on document zoom level. At 200% magnification, Windows Internet Explorer reports the "logical" position of a pixel as half of the distance of the same position at 100% zoom. For more information, see Making the Web Bigger: DPI Scaling and Internet Explorer 8.

See also

DragEvent
MouseEvent
MouseWheelEvent
WheelEvent
Reference
clientX
pageX
screenX
x

 

 

표시:
© 2014 Microsoft