Name

AREA — NN 3 IE 4 DOM 1

Synopsis

The AREA object reflects the AREA element, which defines the shape, coordinates, and destination of a clickable region of a client-side image map. Navigator and Internet Explorer (for compatibility with Navigator) treat an AREA object as a member of the links collection, since an AREA object behaves much like a link, but for a segment of an image.

HTML Equivalent

<AREA>

Object Model Reference

NN

[window.]document.links[i]

IE

[window.]document.links[i]

[window.]document.all. elementID

Properties

alt

href

offsetLeft

parentTextEdit

sourceIndex

className

id

offsetParent

pathname

style

coords

isTextEdit

offsetTop

port

tabIndex

document

lang

offsetWidth

protocol

tagName

hash

language

outerHTML

search

target

host

noHref

outerText

shape

title

hostname

offsetHeight

parentElement

  

Methods

blur( )

getAttribute( )

removeAttribute( )

click( )

insertAdjacentHTML( )

scrollIntoView( )

contains( )

insertAdjacentText( )

setAttribute( )

focus( )

  

Collections/Arrays

all[]

children[]

filters[]

Event Handler Properties

Handler

NN

IE

DOM

onafterupdate

n/a

4

n/a

onbeforeupdate

n/a

4

n/a

onblur

n/a

4

n/a

onclick

4

3

n/a

ondataavailable

n/a

4

n/a

ondatasetchanged

n/a

4

n/a

ondatasetcomplete

n/a

4

n/a

ondblclick

n/a

4

n/a

onerrorupdate

n/a

4

n/a

onfocus

n/a

4

n/a

onhelp ...

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.