Location.x (Property)

The X coordinate of the anchor on the client display surface.


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

The horizontal 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.x, Area.x, Url.x