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