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

HRESULT value = object.get_pageY(* p);

Property values

Type: long

The y-coordinate.

Standards information

Remarks

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


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

See also

Reference
IDOMMouseEvent::clientY
IDOMMouseEvent::offsetY
IDOMMouseEvent::screenY
IDOMMouseEvent::y

 

 

Build date: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.