I wanted to know the HTML expression to allow various parts of an inlined
image to be linked to various pages. I have seen this used at various sites
such as the "Centre fo Atmospheric research" and "NASA's" home page.
You are able to click on various parts of the inlined image and the relevant
page will be referenced. I know how you would refernce a single image.
Do you have to have the composite image made up of various individual parts
which are just seemlessly joined?
Any help would be appreciated....
Justin.
Justin Farrell,
Department of Computer Science,
Trinity College Dublin.
email : jfar...@cs.tcd.ie
www : http://www.cs.tcd.ie/www/jfarrell/jfarrell.html
: Justin.
See <A HREF=
"http://wintermute.ncsa.uiuc.edu:8080/map-tutorial/image-maps.html"
>Graphical Information Map Tutorial</A>
Peter Crowley
pcro...@netcom.com
I think the mechanism you are looking for is handled on the server side.
Consider the following fragment of HTML:
<A HREF="http://somehost/htbin/imagerect/key">
<IMG SRC="image.gif" ISMAP>
</A>
If you click on this picture, say at pixel 5 from the left and pixel 9 from the top, Mosaic would produce a request for the URL
http://somehost/htbin/imagerect/key?5,9
That's as much work as the version of Mosaic I'm currently running will do.
My server, ncsa_httpd, recognizes the "htbin" portion of the path as a signal
that it is to execute something in a particular directory rather than just
feeding a document. "imagerect" is a directory, named after the program that
it contains links to. This directory contains a list of hard links to the
imagerect program. imagerect the program looks to see what name was used to
invoke it, and uses the last part of that name as a key into a file that tells
it what to feed your client for any given point on the picture.
Anyway, the bottom line is: You need to look on the server side, and in
particular, ncsa_nntpd will support this mechanism. Check out these
URLs:
http://hoohoo.ncsa.uiuc.edu/docs/Overview.html
http://hoohoo.ncsa.uiuc.edu/docs/setup/admin/Imagemap.html
Looks like Imagemap might be better than the imagerect stuff I'm using.
I hope this helps.
--
-.. . -.- . -.... -.-. ... -..- -.-
L. Adrian Griffis
adr...@ada1.elan.af.mil