. . . . . . . . . . . . . . . . . . . . . . . . 170
Adding pop-ups to images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
Adding a pop-up to an image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
Image maps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
Faking images maps using CSS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
Using CSS to create a fake image map with rollovers . . . . . . . . . . . . . . . . 178
Enhancing links with JavaScript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
Creating a pop-up window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
Creating an online gallery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Switching images using JavaScript . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Adding captions to your image gallery . . . . . . . . . . . . . . . . . . . . . . . . 187
Automated gallery scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
CONTENTS
ix
Collapsible page content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
Setting up a collapsible div . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
Enhancing accessibility for collapsible content . . . . . . . . . . . . . . . . . . . . 191
Modularizing the collapsible content script. . . . . . . .
Pages:
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30