Screen Object

Related Tutorials

Properties

Properties

Description

availWidth

Specifies the width of the screen, in
pixels, minus interface features such as the taskbar in Windows.

availHeight

Specifies the height of the screen, in
pixels, minus interface features such as the taskbar in Windows. A
practical usage of this property is to open a window using JavaScript
that's maximized to the user's entire screen while not covering up
the Windows taskbar, since availWidth and
availHeight factors them out in their values.

The bit depth of the color palette
available for displaying images in bits per pixel. Using this
property, you can test for 8 bit screens for example, which are
limited as far as the range of colors they can display"