how to get a clickable map over an image?

Klaus on-rev klaus at major.on-rev.com
Wed Apr 27 06:24:10 EDT 2011


Hi Tiemo,

> Hi,
> 
> Is there still anybody left, not being in San Jose?

Yep, me :-)

> I am trying to get multiple polygon shaped areas clickable within an image.
> So my first idea was to put multiple transparent polygons over my image as
> clickable buttons.
> But new I experience that a polygon is only mouse sensitive, when it is
> opaque.
> Strange to say, the border of the transparent polygon is mouse sensitive,
> though I set the border to size 0!?
> 
> Am I missing something with my polygons or what is the appropriate way to
> get multiple polygon shaped areas of an image mouse sensitive without
> cutting the image into multiple pieces?
> 
> Thanks for any idea

DITTO? :-D

Create you graphics (border or not, doesn't matter) and then set their INK to "NOOP"!

This will make these graphics invisible for our eyes, but not for the mouse!
They still remain "clickable" and repsonsive!

I use this technique for years without any problems!

> Tiemo

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com





More information about the use-livecode mailing list