Unit 13.3. JavaScript and Images

There are many ways that JavaScript can manipulate images. This section covers the popular use of Rollover buttons and an image list.

JavaScript Rollover

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 ...

Get Oracle® Web Application Programming for PL/SQL® Developers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.