O'Reilly logo

JavaScript Pocket Reference, 2nd Edition by David Flanagan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

Screen

Synopsis

screen

Properties

availHeight

The available height, in pixels, of the screen.

availWidth

Specifies the available width, in pixels, of the screen.

colorDepth

The depth of the browser’s color palette, or the number of bits-per-pixel for the screen.

height

Specifies the total height, in pixels, of the screen.

width

Specifies the total width, in pixels, of the screen.

See Also

Navigator

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required