how to get a clickable map over an image?
René Micout
rene.micout at numericable.com
Wed Apr 27 07:44:22 EDT 2011
Merci Klaus !
Very useful...
René (sous le soleil de Paris et non de San Jose)
Le 27 avr. 2011 à 12:24, Klaus on-rev a écrit :
> 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
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list