| You are here: DEVPPL ‹ Forum ‹ Programming ‹ HTML Forum |
NOTIFICATIONS
|
|
|||||||||||||||
Login |
guessing my map...coords?
1 post
• Page 1 of 1
0
guessing my map...coords?
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
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>
- Jon
- Reputation: 0
- Posts: 3
- Joined: Sun Aug 15, 2010 1:09 pm
- Highscores: 0
- Arcade winning challenges: 0
|
|