Javascript Reference
Categories: A

javascript A shape

@March 15, 2008, 1:22 a.m.

shape Firefox/Netscape/NN 6 IE 6 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. Intended for use by the area object, which inherits the properties of the a object.

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

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

 
Default

rect


Powered by Linode.