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.3

 

Syntax

JavaScript

p = object.screenY

 

Property values

Type: Integer

The y-coordinate.

Standards information

See also

DragEvent
MouseEvent
MouseWheelEvent
WheelEvent
Reference
clientX
pageX
screenX
x

 

 

顯示:
© 2015 Microsoft