40 likes | 217 Views
What is an image map?. active clickable image loads different web pages depending on what part of the image is clicked. 3 types of image map : Client Side image maps Server Side image maps Combination CS + SS image maps. Name of the image. <P ALIGN ="center">
E N D
What is an image map? • active clickable image • loads different web pages • depending on what part of the image is clicked • 3 types of image map : • Client Side image maps • Server Side image maps • Combination CS + SS image maps
Name of the image <PALIGN="center"> <IMG SRC="map.gif" WIDTH="400" HEIGHT="25” BORDER="0” USEMAP="#menuline” ALT="Image Map"> </P> Map file name - place it in the same HTML doc
map file - menuline <MAPNAME="menuline"><AREASHAPE="rect" COORDS="0,0,100,24" HREF="index.htm"><AREASHAPE="rect" COORDS="101,0,200,24" HREF="intro.htm"><AREASHAPE="rect" COORDS="201,0,300,24" HREF="lesson21.htm"><AREASHAPE="rect" COORDS="301,0,400,24" HREF="topics.htm"></MAP> • List of shapes : • rect • circle • poly (polygon)
(100,24) (200,24) (300,24) (400,24) (0,0) (101,0) (201,0) (301,0) hotspots map.gif <AREASHAPE="rect" COORDS="0,0,100,24" HREF="index.htm">