Javascript Reference
Categories: MAP

javascript MAP areas[ ]

@March 15, 2008, 1:22 a.m.
areas[ ]Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

Read-only  

Indicates a collection of all area element objects nested inside the map element.

 
Example
 
for (var i = 0; i < document.getElementById("myMap").areas.length; i++) {
    oneMap = document.getElementById("myMap").areas[i];
    ...
}
 
Value

Array of area element objects.

 
Default

Array of length zero.

Under moderation.
ascendpiuefq - 2016-05-09

Powered by Linode.