circular mapping for image links

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

•  Subject
• Author
• Posted on
Not sure how to state the question.
Is there any way to make an area of an image clickable so that the area is
circular?
I want to use an image which is circular by nature and want the inner
portion to be a link.
I know you can do polygons like with state maps.
Or at best something similar like an octagon shaped area?

Re: circular mapping for image links

Richard wrote:

yes, it works the same way as with imagemaps with polygons,
but instead of <area shape="poly" coords... etc.> you use
<area shape="circle" coords="x,y,z" href="file.html">, where
x and y are the coordinates of the center of the circle, and
z is the radius.

--
Els

Mente humana é como pára-quedas; funciona melhor aberta.

Re: circular mapping for image links

Richard wrote:

Make the inner circle portion using the circle.
For the outer ring - define it as two separate clickable regions using a
polygon - define two C shapes (on a backwards C).

--
Iso.
FAQs: http://html-faq.com http://alt-html.org http://allmyfaqs.com /
Recommended Hosting: http://www.affordablehost.com /
Web Standards: http://www.webstandards.org /

Re: circular mapping for image links

Isofarro wrote:>>

> Richard wrote:

>> Not sure how to state the question.
>> Is there any way to make an area of an image clickable so that the area
>> is circular? I want to use an image which is circular by nature and want
>>the inner portion to be a link. I know you can do polygons like with
>>state maps. Or at best something similar like an octagon shaped area?

> Make the inner circle portion using the circle.
> For the outer ring - define it as two separate clickable regions using a
> polygon - define two C shapes (on a backwards C).

thanks. found a neat little program that helps out getting the coordinates
the way I want.
http://www.imagecure.com
They have one that does freehand mapping, and one that splits an image into
vert/horiz segments with rollover effects.
the freeware version limits what you can do, but all I need is the coding
and they supply that too.
Why should I pay for something that I can do on my own?

> --
> Iso.
> FAQs: http://html-faq.com http://alt-html.org http://allmyfaqs.com /
> Recommended Hosting: http://www.affordablehost.com /
> Web Standards: http://www.webstandards.org /