Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

y property

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

Internet Explorer 9

 

Syntax

JavaScript

p = object.y

 

Property values

Type: Integer

The y-coordinate.

Standards information

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.

See also

DragEvent
MouseEvent
MouseWheelEvent
WheelEvent
Reference
clientY
offsetY
pageY
screenY

 

 

Show:
© 2014 Microsoft