Producing web pages
* HTML CSS DHTML XHTML A to Z of tags        Accessibility          Design

Setting up a server-side image maps

You can only use server-side maps if your server has the appropriate script to process the co-ordinates.

To set up a server-side image map you should mark the picture as a "server-side" image map by using the ismap attribute in the <img> tag and enclose the picture in an <a> tag, as in the following example:

<a href="jump.map"><img src="sample.gif" ismap></a> 

In this example, the image map information is in the file named jump.map (this script need to be on the server). When you click the picture in sample.gif, the server receives the co-ordinates of the click and can pick the appropriate destination for the click by checking the information in jump.map.