25.252. Synopsisscreen 25.252.1. Properties
25.252.2. DescriptionThe screen property of every Window refers to a Screen object. The properties of this global object contain information about the screen on which the browser is displayed. JavaScript programs can use this information to optimize their output for the user's display capabilities. For example, a program can choose between large and small images based on the display size and between 8-bit and 16-bit color images based on the screen's color depth. A JavaScript program can also use the information about the size of the screen to center new browser windows on the screen. 25.252.3. See AlsoThe screen property of the Window object |