Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

MouseEvent.pageY

The MouseEvent.pageY read-only property returns the vertical coordinate of the event relative to the whole document.

Syntax

var pos = event.pageY

Examples

var pageY = event.pageY;

pageY is an integer value in pixels for the Y coordinate of the mouse pointer, relative to the whole document, when the mouse event fired. This property takes into account any vertical scrolling of the page.

Specifications

Specification Status Comment
CSS Object Model (CSSOM) View Module
The definition of 'pageY' in that specification.
Working Draft Initial definition.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 45.0 (Yes) 9 (Yes) (Yes)
Feature Android Android Webview Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile Chrome for Android
Basic support ? 45.0 ? ? ? ? ? 45.0

See also

Document Tags and Contributors

 Contributors to this page: cvrebert, teoli, jpmedley
 Last updated by: cvrebert,