Version Ref: 5.0 (not included in filePro Lite)
Syntax:
HTML:AR :HR "Image.bmp"
The :AR tag defines each "hotzone" region within tag :MA
HTML Function |
TAG |
Tag Code |
Tag Value |
Attr |
Value |
# of Values |
Area |
<AREA> |
:AR |
<none> |
:NA |
Name |
1 |
|
|
|
|
:HR |
HRef |
1 |
|
|
|
:SH |
Shape |
1 |
|
|
|
|
|
:CO |
Coord. |
+ |
|
|
|
|
:NO |
No HRef |
0 |
|
|
|
|
:AL |
Alternate |
1 |
Description:
The :HR attribute specifies the URL for the destination that should be chosen if this area was selected. If you specify :NO instead, this area won't do anything.
:SH and :CO define the actual region.
:SH can be a rectangle, circle or polygon and :CO should contain a set of coordinates describing that shape. This is done with a comma separated list of numbers, enclosed in quotes. The syntax for :CO depends on what shape you choose.
rect - rectangle
A rectangle has four coordinates. The first specifies the top left corner, and the second the bottom right corner of the rectangle.
Example:
:SH = "rect" :CO = "0,0,9,9" would specify a rectangle of 10x10 pixels, starting in the top left corner of the image.
circle - circle
A circle is defined by its center and radius. The :CO attribute first specifies the coordinates of the center, and then the radius of the circle, in pixels.
Example
:SH = circle :CO = "10,10,5" would specify a circle with radius 5 at location (10,10) in the image.
poly - polygon
A polygon is built up by a list of coordinates. They are all connected in the order you present, and the last coordinate pair is connected to the first. This way you can build arbitrary figures.
Example:
:SH=poly :CO="10,50,15,20,20,50" would specify a triangle,
:AL is used by text browsers to present the URLs in the imagemap in a more readable fashion. If you leave those off, the browser can only display the "bare" URLs. The ALT text is required if you want your document to be valid.