Javascript Reference
Categories: AREA

javascript AREA shape

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

Read/Write  

Indicates the shape of a server-side image map area with coordinates that are specified with the coords attribute.

 
Example
 
document.getElementById("area51").shape = "circle";
 
Value

Case-insensitive shape constant as string: default | rect | rectangle | circle | poly | polygon.

 
Default

RECT (IE); empty string but rect implied (Netscape 6).


Powered by Linode.