28 July 2007 ............... Length about 900 words (3,000 bytes).
(Document started on 1 Jan 2005.)
This is a WWW document maintained by
Steve Draper, installed at http://www.psy.gla.ac.uk/~steve/demo.imagemaps.html.
You may copy it.
How to refer to it.
Web site logical path:
Active maps: clickable image maps
Server side image maps are built on a simple mech in earliest HTML / browser
defs. If you have a URL link, and in the link text there is an IMG with
keyword/attribute ISMAP, then the URL is sent to server with coords of click
appended as in URL?23,509
Syntax of map file is typically like:
rect local.html 0,0 200,200
where second field is a URL (in this case, relative to where .map file is).
You can combine this with old server-side maps, so if client fails to do it,
or doesn't have defaults or some areas defined, then click will pass
- Oldest method has separate software programme "ImageMap" in server's
Call from webpage will be:
< A href="http://www.psy.gla.ac.uk/cgi-bin/imagemap/~steve/ilig/pics/lobby.map">
I.e. URL is first that of software; then concatenated the file address of map
file (database of active areas). (The browser will further concatenate the
coords of the click.)
- Newer method if server has ImageMap enabled, is that the software is now
part of server, and additionally server recognises any web page with ".map"
suffix and applies to it.
Call from webpage will be: < A href="pics/lobby.map">
Client side images
- Use newer versions of HTML with
Possible examples of good web image practice