December 2002
Intermediate to advanced
745 pages
17h 26m
English
There are many ways that JavaScript can manipulate images. This section covers the popular use of Rollover buttons and an image list.
A JavaScript Rollover refers to what happens when you move or “roll” the mouse over a specific area on a page. One of the most common kinds of rollover is a clickable button that changes its appearance when the mouse is moved over it. In reality, one image is being swapped very quickly for another image. This is a popular element in Web pages because it focuses attention on the spot where the user has placed the mouse. When the image changes it also gives the user a sense that this button will cause an event to occur. Without this functionality in place, clickable ...