Note:
Returns an array of all <area> elements contained in a <map> element.
Syntax:
document.getElementById("mapID").areas // returns all areas
document.getElementById("mapID").areas(param1, param2) // returns an individual area
document.all.mapID.areas // IE only
document.all.mapID.areas(param1, param2) // IE only
param1 Required; zero-based index or
desired member's id or name attribute.
param2 Optional; zero-based index for the result returned
if param1 matches more than one element.
|