This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

screenLeft

Summary

Retrieves the x-coordinate of the upper left-hand corner of the window frame, relative to the upper left-hand corner of the screen.

Property of dom/Windowdom/Window

Syntax

Note: This property is read-only.

var result = window.screenLeft;

Return Value

Returns an object of type NumberNumber

the x-coordinate, in pixels.

Examples

var left=window.screenLeft;

Notes

Remarks

The client area consists of the frame area, exclusive of the caption bar, the window-sizing border, the menu bar, the toolbars, the scroll bars, and the status bars.

Syntax

Attributions