Platform Support
| Mozilla | Chrome | Safari | Opera | IE | Netscape | 1.0+ | 5.0+ | 1.0+ | 4.0+ | 4.0+ | 6.0+ |
|---|
Constructors
| Constructor | Action | Mozilla | Chrome | Safari | Opera | IE | Netscape | ||
|---|---|---|---|---|---|---|---|---|---|
|
HTMLMapElement Constructor() : HTMLMapElement
Creates an instance of the HTMLMapElement.
|
Show Details | 1.0+ | 5.0+ | 1.0+ | 4.0+ | 4.0+ | 6.0+ | ||
HTMLMapElement() : HTMLMapElementCreates an instance of the HTMLMapElement. Returns
|
|||||||||
Properties
| Property | Action | Mozilla | Chrome | Safari | Opera | IE | Netscape |
|---|---|---|---|---|---|---|---|
|
name
: String
Specifies the name of a map.
|
Show Details | 1.0+ | 5.0+ | 1.0+ | 4.0+ | 4.0+ | 6.0+ |
|
|||||||
|
areas
: HTMLCollection
Returns an HTMLCollection of the area elements in the map.
|
Show Details | 1.0+ | 5.0+ | 1.0+ | 4.0+ | 4.0+ | 6.0+ |
|
|||||||
|
images
: HTMLCollection
Returns an HTMLCollection of the img and object elements that use the map.
|
Show Details | 1.0+ | 5.0+ | 1.0+ | 4.0+ | 4.0+ | 6.0+ |
|
|||||||
Inherited Functions
| Method | Action | Mozilla | Chrome | Safari | Opera | IE | Netscape | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
getElementsByClassName(String classNames) : NodeList
Returns a NodeList containing all the
Element nodes with the specified classNames. |
Show Details | 1.9+ | 5.0+ | 3.1+ | 9.51+ | no | no | |||||
|
Parameters
Returns
|
||||||||||||
References
Availability
JavaScript 1.2|WhatWG