spacer

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

home / experts / javascript / column17


Screen Properties

Developer News
HP to Microsoft: Thanks for Nothing
iPhone Remains Left Out as Android Scores Flash
The Year of Living the OpenSocial

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.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

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

webref The latest from WebReference.com Browse >
Administering RBAC in PHP 5 CMS Framework · xref: Automatic Cross Referencing Script · Book Review: Content Rich
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Gateway Launches New Core i7-powered FX-Series Gaming PCs · Review: Lenovo ThinkPad SL300 · EBay, Alternative Site Holiday Resources for Sellers


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

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