JavaScript Rollovers: Introduction - Doc JavaScript
Universal JavaScript Rollovers
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:
In this article you'll learn:
- How to use the
document.images
object. - How to make your rollovers backward compatible.
- How to create an instance of the
Image
object. - How to combine several rollovers to create a menu.
- How to create multiple rollovers.
- How to ensure maximum "transition" quality.
- How to create nested rollovers.
Created: August 21, 1997
Revised: March 30, 1998
URL: https://www.webreference.com/js/column1/