Server-Side Imagemaps

The Web Developer's Virtual Library

<A	HREF	= "/cgi-bin/imagemap/~web/Images/banner.map">
<IMG	SRC	= "/Images/Banners/banner.gif"
	ALT     = "The Web Developer's Virtual Library"
	ISMAP
	></a>

If the ISMAP attribute is present in the IMG tag, and the image tag is within an anchor, the image will become a "clickable image". The pixel coordinates of the cursor will be appended to the URL (after a "?") specified in the anchor if the user clicks within the ismap image. You'll need to specify a 'map' file, similar to the following (server-dependent):

default	http://WWW.Stars.com/
rect	http://WWW.Stars.com/Location/Maps/		0,0,	459,29
rect	http://WWW.Stars.com/Gallery/			0,30,	67,59
rect	http://WWW.Stars.com/Authoring/Graphics/	60,30,	139,59
rect	http://WWW.Stars.com/Vlib/Internet/Jobs.html	140,30,	179,59
rect	http://WWW.Stars.com/Reference/Library/		180,30,	239,59
rect	http://WWW.Stars.com/Internet/News/		240,30,	285,59
rect	http://WWW.Stars.com/Location/Search/		286,30,	341,59
rect	http://WWW.Stars.com/WDVL/Stats/Top/		342,30,	397,59
rect	http://WWW.Stars.com/Authoring/HTML/Tutorial.html 397,30, 479,59

See also: Client Side Imagemaps

___________________
Up to => Home / Authoring / HTML / Body /

Help ! Index Library Site Map Search Topics Top100
Advertising. Hosted by Charm Net. © 1997 CyberWeb SoftWare. Legal Stuff.
3/Nov/1997 http://Stars.com/Authoring/HTML/Body/ismap.html
Comments ?
Made with Cascading Style Sheets The Web Developer's Virtual Library