Mega Code Archive

 
Categories / JavaScript DHTML / HTML
 

Methods and Properties of the Area Object

/* JavaScript Unleashed, Third Edition by Richard Wagner and R. Allen Wyke  ISBN: 067231763X Publisher Sams CopyRight 2000 +---------+----------------+-------------------------------------------------+   Type      Item             Description +---------+----------------+-------------------------------------------------+   Method +---------+----------------+-------------------------------------------------+              handleEvent()     Calls the event handler associated with this event.  +---------+----------------+-------------------------------------------------+  Property +---------+----------------+-------------------------------------------------+               hash             The portion of the URL that is the anchor,                               including the # symbol. +---------+----------------+-------------------------------------------------+             host             The hostname (IP address) and port specified in the URL. +---------+----------------+-------------------------------------------------+             hostname         The hostname specified within the URL. +---------+----------------+-------------------------------------------------+             href             The entire URL. +---------+----------------+-------------------------------------------------+             pathname         The path of the file specified in the URL, beginning                               with the / symbol. +---------+----------------+-------------------------------------------------+             port             The port specified in the URL. +---------+----------------+-------------------------------------------------+             protocol         The protocol specified in the URL, including the ending                               colon (:). +---------+----------------+-------------------------------------------------+             search           The search part of the URL, including the beginning                               question mark (?). +---------+----------------+-------------------------------------------------+             target           The name of the target window in which the URL should                               be displayed. +---------+----------------+-------------------------------------------------+             text             The text that appears between the <area> and </area> tags. +---------+----------------+-------------------------------------------------+             x                The x-coordinate of the area. +---------+----------------+-------------------------------------------------+             y                The y-coordinate of the area. +---------+----------------+-------------------------------------------------+