You are here: DEVPPL Forum Programming HTML Forum
NOTIFICATIONS
54.314
MEMBERS
15.719
TOPICS
62.396
POSTS
  562
FLASH GAMES
7.740
TUTORIALS
 

Login

E-mail:
Password:

guessing my map...coords?

0

Loading

guessing my map...coords?

Postby Jon » Sun Aug 15, 2010 1: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>

Jon
 
Reputation: 0
Posts: 3
Joined: Sun Aug 15, 2010 1:09 pm
Highscores: 0
Arcade winning challenges: 0

guessing my map...coords? - Sponsored results

Sponsored results

Login to get rid of ads

 

cron
^ Back to Top