availTop property (screen)
Returns the top side of the area on the screen that is available for application windows.
The returned value is relative to the top side of the screen. On Microsoft Windows platforms, the area for application windows is the entire screen excluding the taskbar.
- Use the availLeft property to get the left side and the availWidth and availHeight properties to retrieve the size of the area.
- If you need the dimensions of the entire screen, use the width, height, and the left, top properties of the screen object.
- To get the size and the top-left corner of the browser window, use the outerWidth, outerHeight and the screenX, screenY properties.
You can find the related objects in the Supported by objects section below.
This property is read-only.
Integer that represents the vertical position, in pixels.
Default: this property has no default value.
Example HTML code 1:
This example illustrates the use of the availTop property:
Did you find this example helpful?
User Contributed Comments