Location.y (Property)

The Y co-ordinate of the anchor on the client display surface.

Availability:

JavaScript - 1.2
Netscape - 4.0
Property/method value type:Number primitive
JavaScript syntax:NmyLocation.y

The vertical position of the object in the display measured in pixels. You can use the x and y coordinates of the object as targets of the scrollTo() method for the window it lives in.

See also:Anchor.y, Area.y, Url.y