• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Area

JavaScript 1.1+, JScript 1.0+ Nav3+, IE 3+, Opera3+ Syntax

Core client-side JavaScript object.

Description

An instance of the Area object is created with each occurrence of the <area> tag within an HTML document. In HTML documents, the <area> tag is used in conjunction with the <map> tag to define an area within a picture that will act as a hyperlink. Because the Area object is a hyperlink, it is equivalent to the Link object in JavaScript. In fact, the Area object is stored in the same array where Link objects are stored. Table 7.3 lists the properties, methods, and event handlers used by the Area object.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint