Name

useMap — NN n/a IE 4 DOM 1

Synopsis

Read/Write

The URL of the MAP element in the same document that contains client-side image map hot areas and links. The value includes the hashmark assigned with the map name in the USEMAP attribute of the IMG element.

Example

document.images[0].useMap = "#altMap"

Value

A string starting with a hashmark and the name of the MAP element.

Default

None.

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.