Image Maps, an Example
This shows the coordinates or "hot-spots" mapped for the image.
- circle (101,123) 42 imvh301.htm#SAMERICA
- circle (56,46) 45 imvh301.htm#NAMERICA
- circle (180,98) 41 imvh301.htm#AFRICA
- circle (265,50) 47 imvh301.htm#ASIA
- poly (218,10) (215,58) (138,49) (219,11) imvh301.htm#EUROPE
- poly (346,68) (184,170) (347,170) imvh301.htm#OCEANIA
- rect (4,3) (351,177) imvh301.htm#OCEANIA
- default imvh301.htm
The image below was mapped using the MAPEDIT program found on the Web.
<A HREF="/CGI-BIN/IMAGEMAP/MAPK.MBR"><IMG SRC="IMVG300.GIF" ISMAP></A>
"/CGI-BIN/IMAGEMAP/" tells the location of the map files on the server.
"MAPK.MBR" specifies the name of the image map file on the server.
"IMG SRC" tells the browser which graphic file to use, imvg300.gif.
"ISMAP" tells the browser this is an image map.
Then some HTTP configuration to make it all work:
- Map /CGI-BIN/IMAGEMAP/* /QSYS.LIB/QTCP.LIB/QTMHIMAG.PGM/QSYS.LIB/ITSOIC400.LIB/IMAGEMAP.FILE/*
- Pass /QSYS.LIB/ITSOIC400.LIB/IMAGEMAP.FILE/*
Agenda
IMA040