| Client-side Image Maps |
| Image Maps allow hyperlinks to different places from
different parts of an image. There are two types of image maps, "server-side" maps and "client-side" maps. Now that most newer browsers support "client-side" image maps, they should be used in preference to the (older) "server-side" image maps, mainly because they can be implemented much easier. These notes will only explain "client-side" image maps, for information of "server-side" image maps see the "WWW FAQ" Three shapes are allowed when defining imagemap areas.
The image below has three simple shapes, the coordinates are shown to help understanding, in fact, the shapes do not need to be identifiable or obvious....
|
<img border=0
src="test.gif" usemap="#maplabel"> |
| The text "URL" in the example above
means thats where the URL is placed! The border=0 is optional - it stops the browser from drawing a hyperlink border around the image, this is sometimes useful but can confuse people looking at the page. |
return to the Contents page. |
||
| Last Updated: 1 October 1998 | ||