spacer

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

home / experts / javascript / column1


Universal JavaScript Rollovers

Developer News
Google Going Native With Chrome
Mozilla Fixes Firefox Flaws as 3.5 Release Nears
Microsoft and Novell Still Bosom Buddies

Since the official release of Netscape Navigator 3.0x, JavaScript rollovers have become extremely popular. They are currently in use on many large web sites, including IBM, Digital, and ZDNet.

Have you ever seen an image move, change color, or even pop up when you place the pointer over that image? If so, you were most likely experiencing a JavaScript rollover. Rollovers are an excellent way of adding dynamic elements to a web page without penalizing browsers that do not support the necessary features (if the rollover is programmed properly).

We're going to discuss various implementations of JavaScript rollovers in this column. The following set of images demonstrates a nested rollover:

Netscent Logo (top)
Netscent Logo (bottom)

In this article you'll learn:

  1. How to use the document.images object.
  2. How to make your rollovers backward compatible.
  3. How to create an instance of the Image object.
  4. How to combine several rollovers to create a menu.
  5. How to create multiple rollovers.
  6. How to ensure maximum "transition" quality.
  7. How to create nested rollovers.

webref The latest from WebReference.com Browse >
XML and PHP Simplified · Creating a ASP.NET Contact Form · Data Filtering with PHP
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Intel to Host Live Nehalem Q&A · 12 Tips to Troubleshoot Network File-Sharing · 10 Tips for Selling on Kijiji

Created: August 21, 1997
Revised: March 30, 1998

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