It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming HTML Forum

guessing my map...coords?

guessing my map...coords?

Postby jon80 on Sun Aug 15, 2010 12:21 pm

The following code enables a user to map coordinates within an image map as hyperlinks to other images.

How do I "guess" the coords within the image map? Can software be used? Can it be calculated? How? Does the coords attribute represent pixels?

Related information at http://www.w3schools.com/TAGS/att_area_coords.asp

Code: Select all

<html>
<body>

<p>Click on the sun or on one of the planets to watch it closer:</p>

<img src="planets.gif" width="145" height="126" alt="Planets" usemap="#planetmap" />

<map name="planetmap">
  <area shape="rect" coords="0,0,82,126" alt="Sun" href="sun.htm" />
  <area shape="circle" coords="90,58,3" alt="Mercury" href="mercur.htm" />
  <area shape="circle" coords="124,58,8" alt="Venus" href="venus.htm" />
</map>

</body>
</html>

jon80
 
Posts: 3
Joined: Sun Aug 15, 2010 12:09 pm

Who is online

Users browsing this forum: No registered users and 7 guests