Examples for Chapter 10
-
p. 417, Image Maps
We have added event handlers (see Chapter 14) to the hot spots on this image map, so that when you click on the map, the link destination will be displayed in the box below the map – you won't actually go to the destination URLs (they do not exist). This will only work if you have JavaScript enabled in your browser. The passages and the dark grey areas surrounding the rotunda do not have any hot spots attached.
Safari Users Please Note
If you are using Safari 6 (and possibly other versions) you will see an outline of the area you have clicked – but it will be in the wrong place. This behaviour is unique to Safari, and appears to be a bug.