Imagemaps

Imagemaps allow you to provide point-and-click graphical menus on your web pages.

The map information is stored in a NCSA `map file', the format of which is as follows.

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

method URL coord1 coord2 ... coordn

URL is one of the following:

A coord entry is a x,y coordinate, the number depends on the method as show below.

MethodCoordinatesComments
defaultnoneFor the default URL
circlecenter edgepointFor a circle
polyEach coordinate is a vertexFor a polygon of at most 100 vertices
rectupper-left lower-rightFor a rectangle
pointpoint x,yFor closest to a point

Notes:


Back to the features index