Javascript Reference
Categories: OBJECT

javascript OBJECT useMap

@March 15, 2008, 1:22 a.m.
useMapFirefox/Netscape/NN 6 IE 6 Chrome/Safari/DOM 1  

Read/Write  

Provides the URL of the map element in the same document that contains client-side image map hot areas and links. The value includes the hash mark assigned with the map name in the usemap attribute of the object element.

 
Example
 
document.getElementById("logoViewer").useMap = "#altMap";
 
Value

A string starting with a hash mark and the name of the map element.

 
Default

None.


Powered by Linode.