View Full Version : Image mapping! x_X


Candie Swirls
01-25-2003, 03:33 AM
Help! I'm a newbie and very new to image mapping. I'm so frustrated with it! I've tried everything but its not working. Can you see my code below and tell me what's wrong? This goes on my indexx.html page:

<title>Welcome to Candie Swirls!</title>
<img src="purplenotebook.gif" border=0 height=365 width=585 usemap="#mymap1">
<map name="mymap1">
<area shape=circle coords="530,79" href="You.html" target="inlineframe" alt="Stuff for you! Yes, you! Go and click!">
<area shape=circle coords="524,124" href="me.html" target="inlineframe" alt="errrmmm... just some stuff bout me :)">
<area shape=circle coords="529,172" href="tutorial.html"target="inlineframe" alt="Tons of tutorials ^^">
<area shape=circle coords="526,220" href="site.html" target="inlineframe" alt="Just a few random things bout Candie Swirls ^^">
<area shape=circle coords="525,267" href="http://candieswirls.signmyguestbook.com" target="inlineframe" alt="Sign my gbook?">
<area shape=rect coords="497,364" href="Javascript:history.go(1)" target="inlineframe" alt=" Moving Forward ">
</map>
<iframe style="position:absolute; top:35px; left:292" src="inline.html" name="inlineframe" width="222" height="330" style="border:solid 0px white" allowtransparancy="true"></iframe>


Please tell me what's wrong with it!

Alcy
01-25-2003, 03:38 AM
For the circle shape, there should be three coordinates :)

pb&j
01-25-2003, 04:22 AM
Yes, there are three co-ordinates.
X, Y and radius.
The main point we have to find is the center of the circle.
X is the number of pixels from the left image border to the center point of the circle.
Y is the number of pixels from the top image border to the center point of the circle.
RADIUS is the number of pixels it takes to get from the center point to the edge of the circle.

Charrey
01-25-2003, 05:06 AM
If all else fails, use an image mapper, it does the work for you.

One comes with psp if you have it. I believe it's under file-->exports. If you don't, there are plenty you can download, I suggest doing a search at downloads.com (http://www.downloads.com) if you're interested.

Candie Swirls
01-25-2003, 07:20 PM
Wow! Thanx so much, I'll go try it now ^^