4.13.2 Example of image map definition and notes
- Organization of this subsection
(1) Example of image map definition
The operations to use the image map are as follows:
-
Set the following directives in the httpsd.conf file. Execute the image map when .map extension name is specified in URL.
AddHandler imap-file .map
(Define the imap-file handler in the file extension .map)
-
Define a link destination in the file with the extension defined above.
-
Describe the following HTML syntax in HTML document.
<A HREF="/directory name/map file name"><IMG SRC="image data name" ISMAP></A>
The following figure shows an example of image map file definition and actual display:
|
|
In this example, if you click on the part specified with poly, the following map file menu is displayed:
(2) Note
If the character set used in the map file menu differs from the default character set (ISO-8859-1), characters will become garbled in the map file menu display. In this case, specify the character set used in the map file menu in the HWSImapMenuCharset directive.