spacer

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

home / experts / javascript / column1


Universal JavaScript Rollovers

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

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.


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: August 21, 1997
Revised: March 30, 1998

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