Log In · Register

 
need help on finding coordinates on image maps?
Godsend
post May 31 2004, 01:48 AM
Post #1


Senior Member
*****

Group: Member
Posts: 919
Joined: Apr 2004
Member No: 14,856



-Co-ordinates

When you've chosen or created your desired image, you then insert it into an image editor (I use Ms Paint) so that you can find its co-ordinates. Try to either write down different co-ordinates of take them one by one and then insert them into your document. You'll need different co-ordinates depending on what sort of "hot spot" you'd like to use. Hot spots are covered in the next paragraph.

-Hot Spot

Now that you've got your image and co-ordinates, HTML comes to finalise your job. There are three different shapes (commonly termed "hot spots") that can be used in image maps. They are as follows:

-RECT
-CIRCLE
-POLYGON

-Rect

Rect is obviously short for rectangle. For this one, you'll need two different co-ordinates. Top right and bottom left.

-Circle

Many people get confused with this one and many don't even know that it exists. I personally think it's the easiest of all. All you need is the centre co-ordinate (the point in the centre of your shape) and it's radius size (remember your maths: radius is HALF the diameter. Don't get diameter and radius mixed up!).

- Polygon

The most common hot spot used. This is used for when you can't use neither of the above hot spots. This one uses the co-ordinates of the points in order. So if you're going to have a pentagon (shape with five sides), then you list all five co-ordinates but make sure they're listed in ORDER. One after the other, otherwise you'll confuse some browsers.
 
 
Start new topic
Replies (1 - 2)
DrNick311
post May 31 2004, 09:33 AM
Post #2


.
******

Group: Member
Posts: 1,488
Joined: Feb 2004
Member No: 3,625



Hmm... Looks good but it's about the same as the other image mapping tutorials.

BTW this should be in Webdesign -> Tutorials, not Help. Good work though.
 
waccoon
post May 31 2004, 09:54 AM
Post #3


We are the cure.
*******

Group: Staff Alumni
Posts: 4,936
Joined: Jan 2004
Member No: 1,456



stolen from http://www.javascriptkit.com/howto/imagemap.shtml

topic closed.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: