How to create an imagemap on the COE Web server.

------------------------------------------------

Things you need in order to use imagemap:

To see an example click here.

Imagemap configuration file. (Map file)

This file maps regions to URLs for the given image.

Lines beginning with # are comments. Every other non-blank line consists of the following:

method url coord1 coord2 ... coordn

coord are each coordinates, format x,y. The number depends on method.

method is one of the following:

url is one of the following:

Notes:

Referencing Your New Map (The URL)

To reference your net map, you contruct a URL pointing to it.

For example, if you have created a example.map file in your html directory and and used the image sample.gif for the map. Then the following will reference it:

<A HREF="http:/cgi-bin/imagemap2/user/username/example.map"><IMG SRC="sample.gif" ISMAP></a>

A Complete Example

Take a look a this demo which also makes use of some of the features. The steps used to setup the demo image are listed: