4. Working with Images
In This Chapter
Creating More Effective Rollovers
Building Three-State Rollovers
Triggering Rollovers from a Link
Making Multiple Links Change a Single Rollover
Working with Multiple Rollovers
Adding Links to Cycling Banners
One of the best (and most common) uses of JavaScript is to add visual interest to webpages by animating graphics, and that’s what this chapter is all about. Making an image on a webpage change when the user moves the mouse over the image, thereby making the page react to the user, is one of the most common—and effective—tricks you can learn in JavaScript. This rollover ...
Get Visual QuickStart Guide: JavaScript, Ninth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.