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.

screenTop

Summary

Retrieves the y-coordinate of the top corner of the client area, relative to the top corner of the screen.

Property of dom/Windowdom/Window

Syntax

Note: This property is read-only.

var top = window.screenTop;

Return Value

Returns an object of type NumberNumber

the y-coordinate, in pixels.

Examples

var top=window.screenTop;

Notes

Remarks

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

Syntax

Attributions