spacer

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

home / experts / javascript / column17


Screen Properties

Developer News
ActiveState Debuts Open Source Business Suite
Salesforce Offers Visual App Builder
Codesion Steps Out From CVS's Shadow

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


The Network for Technology Professionals

Search:

About Internet.com

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

webref The latest from WebReference.com Browse >
Use Web Caching to Make Your Web Site Faster · Creating an Online Shopping Cart Mechanism in PHP · Log JavaScript Errors Using an AJAX-driven Web Service
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Configuring Granular Settings for a Database Level Audit · The Perils of a Web 2.0 Transition on Your Business Processes · Facebook Redesigns Site —Again — Nears 400M Mark


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

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