DOM Objects
DOM Anchor
DOM Applet
DOM Area
DOM Base
DOM Basefont
DOM Body
DOM Button
DOM Checkbox
DOM Document
DOM Event
DOM FileUpload
DOM Form
DOM Frame
DOM Frameset
DOM Hidden
DOM History
DOM Iframe
DOM Image
DOM Link
DOM Location
DOM Meta
DOM Navigator
DOM Option
DOM Password
DOM Radio
DOM Reset
DOM Screen
DOM Select
DOM Style
DOM Submit
DOM Table
DOM TableData
DOM TableHeader
DOM TableRow
DOM Text
DOM Textarea
DOM Window

Area Object

The Area object defines an area of an image-map. An image-map is an image with clickable regions.

The Area object's properties and events are described below:

N: Netscape (including Mozilla when N6 or higher), IE: Internet Explorer, W3C: World Wide Web Consortium (Internet Standard)

Properties

Syntax: object.property_name

Property Description N IE W3C
accessKey Sets or returns the keyboard key to access the area object   4 Yes
alt Sets or returns an alternate text for browsers that cannot show an area 6 5 Yes
coords Sets or returns a comma-separated list of lengths that defines the clickable area 6 5 Yes
hash Sets or returns the anchor part of the URL (begins with a #) 3 4 No
host Sets or returns the hostname and port of the URL 3 4 No
hostname Sets or returns the server name and domain name/IP address of the URL 3 4 No
href Sets or returns the entire URL 3 4 Yes
id Sets or returns the id of the area object (In IE 4 this property is read-only)   4 No
noHref Sets or returns if the area should be inactive 6 5 Yes
pathname Sets or returns the pathname of the URL 3 4 No
port Sets or returns the URL port the server uses 3 4 No
protocol Sets or returns the URL protocol (including the first colon) e.g "http:", "https:" 3 4 No
search Sets or returns the URL query string section (including the question mark (?)) 3 4 No
shape Sets or returns the shape of the area 6 5 Yes
tabIndex Sets or returns the tab order of the area object   5 Yes
target Sets or returns URL link's target name 3 4 Yes

Events

Syntax: object.event_name="someJavaScriptCode"

Event Description N IE W3C
onClick Executes some code when a Click event occurs 3 4  
onDblClick Executes some code when a Doubleclick event occurs 3 4  
onMouseOut Executes some code when a Mouseout event occurs 3 4  
onMouseOver Executes some code when a Mouseover event occurs 3 4