Export (0) Print
Expand All

2.2.2.3 HTMLAreasCollection

The HTMLAreasCollection interface specifies the collection of areas that make up the image map.

The HTMLAreasCollection interface has been extended with the following methods:

Areas can be added or removed from the collection. If duplicate names are found, a collection of those named items is returned. Subsequently, collections of duplicate names must be referenced by ordinal position.

//Introduced in Internet Explorer.
interface HTMLAreasCollection : HTMLCollection {
    void              add(in HTMLElement oElement, 
                          in long oBefore);
    void              remove(in long iIndex);
    Node              tags(in DOMString sTag);
    Node              urns(in DOMString sUrn);
};
Show:
© 2014 Microsoft