Hitachi

uCosminexus Application Server HTTP Server User Guide


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:

  1. 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)

  2. Define a link destination in the file with the extension defined above.

  3. 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:

Figure 4‒14: Example of image map file definition

[Figure]

In this example, if you click on the part specified with poly, the following map file menu is displayed:

[Figure]

(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.