JAVASCRIPT Questions and Answers

What are Screen objects?

Screen objects are used to read the information from the client’s screen. The properties of screen objects are –

  • AvalHeight: Gives the height of client’s screen
  • AvailWidth: Gives the width of client’s screen.
  • ColorDepth: Gives the bit depth of images on the client’s screen
  • Height: Gives the total height of the client’s screen, including the taskbar
  • Width: Gives the total width of the client’s screen, including the taskbar