IN THIS CHAPTER
How to pre-cache images
How to swap images for mouse rollovers
Changing style sheet settings
Modifying body content dynamically
One of the objects contained by the document is the Image object—supported in all scriptable browsers since the days of NN3 and IE4. Image object references for a document are stored in the object model as an array belonging to the
document object. Therefore, you can reference an image by array index or image name. Moreover, the array index can be a string version of the image's name. All the following are valid references to an image object:
n] document.images[" ...