layerY property

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

 

Syntax

HRESULT value = object.get_layerY(* p);

Property values

Type: long

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 IDOMMouseEvent::y instead.

 

See also

Reference

IDOMMouseEvent::clientY

IDOMMouseEvent::pageY

IDOMMouseEvent::screenY

IDOMMouseEvent::offsetY

IDOMMouseEvent::y