spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / javascript / column17


Screen Properties

Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?

DHTML is hot, and it's not cooling down in the near future. But in this column we'll discuss pure JavaScript features, without elements, positioning, visibility, or any other DHTML concepts. Navigator 4.0x and Internet Explorer 4.0x expanded existing objects, such as document, but they also introduced many new objects.

The screen object exposes variable properties associated with the client's screen. For example, you can determine the screen's dimensions and color depth. These properties are extremely useful for many purposes, which we'll discuss in the column. You'll learn:

  1. How to access the screen object without generating an error.
  2. How to determine the screen's dimensions, including the available portion of the screen.
  3. How to find out how many colors the user's system is capable of displaying.

Based on the maximum number of colors (the color bit depth), we'll show you how to optimize the graphics on any page, using a cross-browser, backward compatible script.

More Resources from Doc JavaScript
Columns Popular Columns Tips Tools
Latest Columns
41-50 | 31-40 | 21-30
11-20 | 1-10
Working with Windows
JavaScript and Frames
Bookmarklets
Random Tips
Personalized Tips
RSS Channels
Menu Builder
Rollover Builder
Rotation Builder
Reference Tip Categories (want one?)
Links
For Your Site
Did you learn something? Do you like this site? Please link to us!

http://www.internet.com

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business


Created: April 7, 1998
Revised: April 7, 1998

URL: http://www.webreference.com/js/column17/