HTML DOM Area Object>>

Area Object

The Area object represents an area of an image-map (An image-map is an image with clickable areas). For each instance of an HTML <area> tag in a document, an Area object is created.

IE: Internet Explorer, F: Firefox, N: Netscape, W3C: World Wide Web Consortium (Internet Standard).

Area Object Properties

Property Description IE F N 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 5 1 6 Yes
coords Sets or returns a comma-separated list of lengths that defines the clickable area 5 1 6 Yes
hash Sets or returns the anchor part of the URL (begins with a #) 4 1 3 No
host Sets or returns the hostname and port of the URL 4 1 3 No
hostname Sets or returns the server name and domain name/IP address of the URL 4 1 3 No
href Sets or returns the entire URL 4 1 3 Yes
id Sets or returns the id of the area object (In IE 4 this property is read-only) 4 1   No
noHref Sets or returns if the area should be inactive 5 1 6 Yes
pathname Sets or returns the pathname of the URL 4 1 3 No
port Sets or returns the URL port the server uses 4 1 3 No
protocol Sets or returns the URL protocol (including the first colon) e.g "http:", "https:" 4 1 3 No
search Sets or returns the URL query string section (including the question mark (?)) 4 1 3 No
shape Sets or returns the shape of the area 5 1 6 Yes
tabIndex Sets or returns the tab order of the area object 5     Yes
target Sets or returns URL link's target name 4 1 3 Yes

Area Object Events

Syntax: object.event_name="someJavaScriptCode"

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

 

<< Back








   



MSN Nick Name



More Resources...





Most Viewed Services:
  1. HTML Tutorial
  2. XHTML Tutorial
  3. CSS Tutorial
  4. Javascript Tutorial
  5. DHTML Tutorial
  6. VB Script
  7. TCP/IP Tutorial
  8. ADO Tutorial
  9. MYSQL Tutorial
  10. ASP Tutorial
  11. AJAX Tutorial
  12. CFML Tutorial
  13. PHP Tutorial
  14. WML Tutorial
  15. FLASH Tutorial
  16. XML Tutorial
  17. RSS Tutorial
  18. SQL Tutorial
  19. HTML Articles
  1. Javascript Articles
  2. PHP Articles
  3. SEO Articles
  4. Web Design Articles
  5. SEO Tips
  6. Web Design Tips
  7. Articles
  8. CSS
  9. CSS Tips
  10. HTML Tips
  11. JAVASCRIPT Tips
  12. MYSQL Tips
  13. PHP Tips
  14. Money
  15. Tutorials
  16. Web Hosting



  • Home
  • Web Directory
  • Top Directoriers
  • Webmaster Directories
  • Contact
  • © Copyright 2006 All Rights Reserved By CodeDcode.Com