|
|||||||||
|
Button bars: an image map applicationA common use for image maps is to provide a button bar. This is generally a strip across the screen containing stylized images of buttons, which can be clicked on to select various documents or resources. Many organizations use button bars as a method of navigation around their documents. For example, Silicon Graphics' home page includes the button bar shown below:
The button bar is set up as an image map linked to http://www.sgi.com/cgi-bin/imagemap/SGIbar-map, which refers to an image map file for the NCSA imagemap program. The following example shows an image map file for this button bar:
# Button bar for Silicon Graphics Home Page To set up an image map like this you need to know the dimensions of the image and then divide the image into rectangular buttons. The coordinates of the rectangles should be set so that the whole of the button bar is covered. Each rectangle is associated with a separate URL. You can create the images for button bars using interactive graphics programs.
Spinning the Web by Andrew Ford |
||||||
Copyright © 1996-2002 Ford & Mason Ltd |