This topic has not yet been rated - Rate this topic

layerY property

[This documentation is preliminary and is subject to change.]

Gets the y-coordinate of the mouse pointer, relative to the last positioned ancestor element.

Internet Explorer 9

Syntax

JavaScript

p = object.layerY

Property values

Type: Integer

The y-coordinate.

Standards information

There are no standards that apply here.

Remarks

A positioned element is an element whose position property is set to relative, absolute or fixed. For more information about element positioning, see About Element Positioning.

Note  This property is provided for cross-browser compatibility. Use y instead.

See also

DragEvent
MouseEvent
MouseWheelEvent
WheelEvent
Reference
clientY
pageY
screenY
offsetY
y

 

 

Build date: 3/14/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ