4.13.1 Syntax of image map file
You can specify the image map data in following three formats:
shape name specification value coordinate shape name specification value "descriptive text" coordinate shape name specification value coordinate "descriptive text"
"descriptive text" denotes the explanation sentence when map file menu is displayed and coordinate denotes the coordinates of images.
Table 4-15 describes the shape name and table 4-16 describes the specification value:
Shape name |
Meaning |
Specification of coordinates |
Explanation of coordinates |
---|---|---|---|
base |
Specifies base of a relative URL in a map file. |
None |
-- |
default |
Specifies a link, when figure name is not related to poly, circle, and rect, and point is also not specified. |
||
poly |
Specifies a polygon having 3 to 100 sides. |
x1,y1 x2,y2 ... xn,yn |
Every coordinate location of polygon (coordinate for 3 to 100 sides) |
circle |
Specifies a circle. The circle specifies a center point and one point on circumference. |
x1,y1 x2,y2 |
Coordinates of center point and one point on circumference |
rect |
Specifies a rectangle. The rect specifies 2 points of opposite corners. |
x1,y1 x2,y2 |
Coordinates of 2 points of opposite corners |
point |
Specifies a point. The point nearest to the cursor is valid. |
x1,y1 |
Point |
- Legend:
-
--: Not applicable.
- #
-
Even if (0,0) is included in the coordinates specification, if you point the coordinates (0,0) of image map image by mouse pointer, the map file menu is displayed.
Specification values |
Meaning |
---|---|
URL |
Specifies the link destination. The base and ImapBase directives are enabled in the case of a relative directory. |
map |
Displays a map file menu. |
menu |
|
referer |
Responds with the status code 302 Found. |
nocontent |
Responds with the status code 204 No Content. Valid for other than base. |
error |
Responds with the status code 500 Server Error. Valid for other than base. |