<img src="file.gif" usemap="#map name" BORDER=0 WIDTH=216 HEIGHT=216>
where file.gif is the name of your image file and map name is the name of the image map that you created in step 1, above. The WIDTH
and HEIGHT
attributes will vary depending on the size of your image.
The following code shows an image map named test that has four regions:
<MAP NAME="test">
<AREA SHAPE=RECT COORDS="4,2,108,103">
<AREA SHAPE=RECT COORDS="117,6,212,104">
<AREA SHAPE=RECT COORDS="3,111,105,213">
<AREA SHAPE=RECT COORDS="114,113,211,210">
</MAP>
<IMG SRC="test.gif" USEMAP="#test" BORDER=0 WIDTH=216 HEIGHT=216>
The resulting image has four "placeholder" regions that you will "hook-up" to pop-up windows in Step 5:
Write text for pop-up windows | |