String that
specifies or receives the coordinates.
The property is read/write.
The property has no default value.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.
Remarks
For a objects, you must set the value of this property before you can retrieve it. This satisfies the requirements of World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 . The page author is responsible for implementing the functionality defined in HTML 4.0 for a objects, if desired.
For area objects, the format of sCoords
depends on the value of the SHAPE attribute of the object, as follows:
SHAPE= circ or circle
COORDS= "x1,y1,r" Where x1,y2 are the coordinates of the center of the circle, and r is the radius of the circle.
SHAPE= poly or polygon
COORDS= "x1,y1,x2,y2...xn,yn" Where each x,y pair contains the coordinates of one vertex of the polygon.
SHAPE= rect or rectangle
COORDS= "x1,y1,x2,y2" Where x1,y1 are the coordinates of the upper-left corner of the rectangle and x2,y2 are the coordinates of the lower-right coordinates of the rectangle.
Example
This example provides the full code for an image map of the solar system. Clicking on the sun or any planet links to an individual image. The user can click the Back button from the image to return to the solar system image map.