Provides information about the display screen and colors.
Platform Support
IE | Mozilla | Netscape | Opera | Safari | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+ |
---|
Constructors
Constructor | Action | IE | Mozilla | Netscape | Opera | Safari | ||
---|---|---|---|---|---|---|---|---|
Screen Constructor() : Screen
Creates a new instance of a Screen object.
|
Show Details | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+ | ||
Screen() : ScreenCreates a new instance of a Screen object. Returns
|
Properties
Property | Action | IE | Mozilla | Netscape | Opera | Safari |
---|---|---|---|---|---|---|
Available height (in pixels) of the screen (not allocated to a shortcut bar or similar feature).
|
No Details | 4.0+ | 1.0+ | 4.0+ | 7.0+ | 1.0+ |
|
||||||
Available space (in pixels) at the far left of the screen (not allocated to a shortcut bar or similar feature).
|
No Details | no | 1.0+ | 4.0+ | no | 1.0+ |
|
||||||
Available space (in pixels) at the top of the screen (not allocated to a shortcut bar or similar feature).
|
No Details | no | 1.0+ | 4.0+ | no | 1.0+ |
|
||||||
Available width (in pixels) of the screen (not allocated to a shortcut bar or similar feature).
|
No Details | 4.0+ | 1.0+ | 4.0+ | 7.0+ | 1.0+ |
|
||||||
Depth of the color palette for the screen.
|
No Details | 4.0+ | 1.0+ | 4.0+ | 7.0+ | 1.0+ |
|
||||||
Total height of the display screen.
|
No Details | 4.0+ | 1.0+ | 4.0+ | 7.0+ | 1.0+ |
|
||||||
Screen color resolution (in bits-per-pixel).
|
No Details | no | 1.0+ | 4.0+ | 7.0+ | 1.0+ |
|
||||||
Total width of the display screen.
|
No Details | 4.0+ | 1.0+ | 4.0+ | 7.0+ | 1.0+ |
|
References
Availability
JavaScript 1.2