Jump to content

Images


frgth

Recommended Posts

Hi In this code:<html><body><p>Click on one of the planets to watch it closer:</p><img src="planets.gif" width="145" height="126" usemap="#planetmap"><map id="planetmap" name="planetmap"><area shape="rect" coords="0,0,82,126" alt="Sun"href="sun.htm"></map><p><b>Note:</b> We use both an <b>id</b> and a <b>name</b> attribute in the map tag because some versions of Netscape don't understand the id attribute.</p></body></html>Where do I find the coordinates? Example:coords="0,0,82,126"

Link to comment
Share on other sites

Where do I find the coordinates? Example:coords="0,0,82,126"
If you open up the picture in paint and hover over the image you will see the coordinates in the bottom right of the screen
<area shape="rect" coords="0,0,82,126" alt="Sun" href="sun.htm">
You tell the page your using a rectangle then specify the dimension 0,0,82,1260,0 = top left of the rectangle82,126 = bottom right of the rectangle :)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...