OBJECT:  Screen


A Screen object, automatically created by the JavaScript runtime engine, returns information on the display screen's dimensions and color depth.

PROPERTIES

availHeight Property
This property returns the height of the screen in pixels, minus any permanent or semi-permanent components of the operating system's interface i.e. Windows' Taskbar feature.

Syntax: screen.availHeight

availWidth Property
This property returns the width of the screen in pixels, minus any permanent or semi-permanent components of the operating system's interface i.e. Windows' Taskbar feature

Syntax: screen.availWidth

colorDepth Property
If a color palette is in use, this property returns its bit depth. If not, the value reflects the screen.pixelDepth property.

Syntax: screen.colorDepth

height Property
This property returns the height of the display screen.

Syntax: screen.height

pixelDepth Property
This property returns the color resolution, in bits per pixel, of the display screen.

Syntax: screen.pixelDepth

width Property
This property returns the width of the display screen.

Syntax: screen.width

METHODS

The Screen object inherits the watch and unwatch methods of the Object object


Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information