Name
coords — NN n/a IE 4 DOM 1
Synopsis
Read/Write
Defines the outline of the area to be associated with a particular link or scripted action. Coordinate values are entered as a comma-delimited list. If hotspots of two areas should overlap, the area that is defined earlier in the code takes precedence.
Example
document.all.mapArea2.coords = "25, 5, 50, 70"
Value
Each coordinate is a length value, but the number of coordinates and
their order depend on the shape specified by the
SHAPE attribute, which may optionally be
associated with the element. For SHAPE="rect",
there are four coordinates (left, top, right, bottom); for
SHAPE="circle" there are three coordinates
(center-x, center-y, radius); for SHAPE="poly"
there are two coordinate values for each point that defines the shape
of the polygon.
Default
None.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access