Hi,
there is also a other way:
every plugin and hotspot has an "
hovering" attribute,
normally this attribute should be only used for checking if an hotspots will be hovered,
but for polygonal hotposts setting it manually to true can be used to simulate hovering,
now you can set the in the onover/onout events of one hotspot the "hovering" attribute of an other hotspot
e.g.
|
Source code
|
1
2
3
4
5
6
|
<hotspot name="spot1"
...
onover="set(hotspot[spot2].hovering,true);"
onout="set(hotspot[spot2].hovering,false);"
...
|
and the same for the other hotspot:
|
Source code
|
1
2
3
4
5
|
<hotspot name="spot2"
...
onover="set(hotspot[spot1].hovering,true);"
onout="set(hotspot[spot1].hovering,false);"
...
|
best regards,
Klaus