Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
All Objects
Event Object
OBJECT: Screen
A
Screen
object, automatically created by the JavaScript runtime engine, returns information on the display screen's dimensions and color depth.
PROPERTIES
availHeight Property
This property returns the height of the screen in pixels, minus any permanent or semi-permanent components of the operating system's interface i.e. Windows' Taskbar feature.
Syntax:
screen.
availHeight
availWidth Property
This property returns the width of the screen in pixels, minus any permanent or semi-permanent components of the operating system's interface i.e. Windows' Taskbar feature
Syntax:
screen.
availWidth
colorDepth Property
If a color palette is in use, this property returns its bit depth. If not, the value reflects the
screen.pixelDepth
property.
Syntax:
screen.
colorDepth
height Property
This property returns the height of the display screen.
Syntax:
screen.
height
pixelDepth Property
This property returns the color resolution, in bits per pixel, of the display screen.
Syntax:
screen.
pixelDepth
width Property
This property returns the width of the display screen.
Syntax:
screen.
width
METHODS
The
Screen
object inherits the
watch
and
unwatch
methods of the
Object
object
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information