w3schools
  
HOME HTML CSS XML JAVASCRIPT ASP PHP SQL MORE...   References Examples Forum About

The Screen Object

« Previous Next Chapter »

Screen Object

The screen object contains information about the client's display screen.

Note Note: There is no public standard that applies to the screen object, but all major browsers support it.

IE: Internet Explorer, F: Firefox, O: Opera.

Screen Object Properties

Property Description IE  F O
availHeight Returns the height of the display screen (excluding the Windows Taskbar) 4 1 9
availWidth Returns the width of the display screen (excluding the Windows Taskbar) 4 1 9
bufferDepth Sets or returns the bit depth of the color palette in the off-screen bitmap buffer 4 No No
colorDepth Returns the bit depth of the color palette on the destination device or buffer 4 1 9
deviceXDPI Returns the number of horizontal dots per inch of the display screen 6 No No
deviceYDPI Returns the number of vertical dots per inch of the display screen 6 No No
fontSmoothingEnabled Returns whether the user has enabled font smoothing in the display control panel 4 No No
height The height of the display screen 4 1 9
logicalXDPI Returns the normal number of horizontal dots per inch of the display screen 6 No No
logicalYDPI Returns the normal number of vertical dots per inch of the display screen 6 No No
pixelDepth Returns the color resolution (in bits per pixel) of the display screen No 1 9
updateInterval Sets or returns the update interval for the screen 4 No No
width Returns width of the display screen 4 1 9

« Previous Next Chapter »


Altova® MapForce®
Graphical XML Mapping Tool from the Developers of XMLSpy®

Altova MapForce

Need an easy way to get data into XML, or transform XML to another format? MapForce lets you map XML data to/from any combination of XML, database, flat file, Excel 2007, XBRL, or Web services data. Then it transforms data instantly or auto-generates royalty-free data integration code for recurrent conversions. New features in Version 2010!

Download a free, fully functional 30-day trial to experience the following features:
  • Easy-to-use, graphical data mapping interface
  • Instant data transformation
  • XSLT 1.0/2.0 and XQuery code generation
  • Java, C#, and C++ code generation
  • Advanced data processing functions
  • Support for all major relational databases including SQL Server, IBM DB2, Oracle, and more
  • Visual Studio & Eclipse integration

Download a fully-functional trial today!

  Altova MapForce


WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Top 10 Web Hosting
UK Reseller Hosting
Web Hosting
FREE Web Hosting
Top Web Hosting
Windows Hosting
WEB BUILDING
XML Editor – Free Trial!
FREE Flash Website
FREE Web Templates
FLIGHT TICKETS
Find the cheapest flight
to any destination now!
EDUCATION
US Web Design Schools
HTML Certification
JavaScript Certification
XML Certification
PHP Certification
ASP Certification
STATISTICS
Browser Statistics
Browser OS
Browser Display