Hosting Solutions
mobile_logo Table of Contents
seal_frontseal_back

screen

The screen property of the Window object returns a reference to the Screen object.

Syntaxwindow.screen
alert( window.screen.width );

See the Screen object

JavaScript

Properties

bodycalleeclosedcookiedocumentdropEffecteffectAllowedfilesframeElementframeshistoryInfinityinnerHeightinnerHTMLinnerWidthlengthlocationlocationbarnameNaNnavigatornullopenerouterHeightparentprototypescreenstatetextContentundefined