Window.screen (Property)

A reference to a screen object that the window is being displayed in.

Availability:

JavaScript - 1.2
JScript - 3.0
Internet Explorer - 4.0
Netscape - 4.0
Opera - 5.0
Property/method value type:Screen object
JavaScript syntax:-myWindow.screen
-screen

The object returned by this property is shared by all windows, since there is only one Screen object for the entire browser.

Refer to the Screen object topic for details of how you can examine its properties. There are some minor differences between MSIE and Netscape Navigator regarding the properties that their Screen objects support.

The WebTV box yields an object that describes the properties of a device that operates at TV display resolution.

Warnings:

See also:JellyScript, Screen object

Property attributes:

ReadOnly.