Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

pageY property

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

Internet Explorer 9

Syntax

JavaScript

p = object.pageY

Property values

Type: Integer

The y-coordinate.

Standards information

Remarks

The pageY property is equivalent to the clientY value plus the scrollTop value of the document, as the following code example shows.


var pageY = event.clientY + document.documentElement.scrollTop; 

See also

DragEvent
MouseEvent
MouseWheelEvent
WheelEvent
Reference
clientX
offsetX
screenX
x
clientY
offsetY
screenY
y

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.