Chapter 12. Working with Images (and Links)

image

12.1 Introduction to Images

A picture is worth a thousand words. Whether it’s a slide show, banner, movie, or photo album, the Web contains a huge collection of images. Any time you buy something online, there is usually an image associated with the item, maybe a small image, and then a bigger image if you want more detail. Whatever it is, a book, a house, a pair of shoes, or a toy, we like to see it before we put it in our virtual shopping cart and pay the money. Although the focus of this chapter is on JavaScript and images, hypertext links are so closely intertwined with images and navigation, they ...

Get JavaScript by Example 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.