You are not logged in.

1

Thursday, December 19th 2013, 2:43pm

two different polygon hotspots visible on mouse "onhover action"

Hello !

I'm new here and already asked this question here #mce_temp_url# but I had no answer so I started a new thread... *unsure*

If you take a look at this http://www.aircamera.fr/visite_virtuelle…s_gets/360.html you will see a golfcourse. There are many polygon spots.

I'm trying to make two polygon spots visible together when mouse is "onover" or "onhover" on of them. I would like that both tooltips be visible as well together. So the first tooltip would appear next to the cursor, and the second tooltip would be displayed at a fixed place.

The idea is that when mouse is above "tee1", the "green of the tee1" is also visible with tooltip.



I have tried this code to make the polygon appear, but It works only with autorotation enabled *blink*

<hotspot name="spotpolygon1"
visible="true"
style="Polygonpolygonevertimage80%"
descriptionid=""
onclick="onclickspotpolygon1"
tooltip="spotpolygon1_tooltip"
onover="displaypolygon2"
>

<action name="displaypolygon2">
set(hotspot[spotpolygon2].borderalpha, 1);
set(hotspot[spotpolygon2].fillalpha, 0.7);
</action>

I have read here something with parent/child plugin. Is it a better way to do what I need ?

Can someone help me please ?

Many thanks !
Best ! Cyril




3

Saturday, January 18th 2014, 7:10pm

Thank you very much ! I love you ! *thumbsup*
That's exactly what I need !