Using Imagemaps On the Aurora Server
One of the niftier things one can do with images is make them region-sensitive; that is, set them up so that the user is taken to a different page or resource depending on what part of an image they click on. This requires the use of specific HTML tags and a server-side program.
Fortunately, such a program is running on the Aurora server, and it can be used by anyone with an Aurora account.
How? It's easy, actually. Here's some example markup:
<A HREF="http://www.case.edu/cgi-bin/imagemap/orgs/zero/main.map">
<IMG SRC="/pix/main.gif" ISMAP>
</A>
In this case, the graphic file main.gif has had the file main.map associated with it. This file is in the directory /orgs/zero/.
In general terms, the HREF which points to the map file must take the form http://www.case.edu/cgi-bin/imagemap/ followed by the directory of your data area, the subdirectory in which the map file resides (if any), and the name of the map file itself, like so:
http://www.case.edu/cgi-bin/imagemap/
[your_root_directory]/[optional_directory_of_map_file]/[map_file_name]
Just replace the bracketed text with the appropriate values, make the entire thing one continuous line of text, and you're all set.
|