IMG.isMap (Property)

Indicates whether the image is acting as a server-side image map.


DOM level - 1
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:Boolean primitive
JavaScript syntax:-myIMG.isMap

This Boolean value determines whether an image is used as a server side-image map. If it is a server-side image map, then a click on the image will return a URL request to the server that includes an X-Y coordinate pair describing where on the image the mouse was positioned when the button was clicked.

You can set this property yourself from a script, although it would most likely be set from HTML.

The value true signifies that the image is a server side image map and the value false signifies that it is not.