Making Clickable Image Maps


Associating a map file to an image
You make the reference to your imagemap file via a cgi-bin program. For instance if user maria has an imagemap file mymap.map in his public_html directory that he wants to link with somepicture.gif. To do this in his html file he would make the following reference:

<a href=http://www.dca.fee.unicamp.br/cgi-bin/imagemap/~maria/mymap.map>
<a img src=http://www.dca.fee.unicamp.br/~maria/somepicture.gif ismap >
</a>

This would display the image somepicture.gif and have certain areas in it clickable as defined in mymap.map




Comments to: webmaster@dca.fee.unicamp.br
Revised: April 9, 1996
URL: http://www.dca.fee.unicamp.br/helpstuff/imagemaps.html
Copyright © 1996 - DCA