Hi,
maybe it's better to rewrite that post in english, so here it is.
I have a serious problem with multiple hotspot onclick events. Please take a look at my code:
___________________________________________________________________________________
Hallo,
Ich platziere gerade mehrere Hotspots in einem Gigapixel und habe alle hotspots mit Masken versehen (mehr oder weniger aus dem example kopiert).
Ich glaube es spart Zeit wenn ich einfach den entsprechenden Code kopiere anstelle jetzt einen Roman zu schreiben:
<hotspot name="pic" url="/templates/gpix.at/img/pano/pic.jpg"
ath="0" atv="0"
mask="hotspot[picmask]"
/>
<hotspot name="picmask" url="/templates/gpix.at/img/pano/mask.png"
ath="0" atv="0"
scale="0.25"
destscale="0.25"
onclick="hotspot_animate();"
/>
<hotspot name="pic1" url="/templates/gpix.at/img/pano/pic1.jpg"
ath="0.1358504420290735" atv="-0.09052633717339703"
mask="hotspot[picmask1]"
/>
<hotspot name="picmask1" url="/templates/gpix.at/img/pano/mask1.png"
ath="0.1358504420290735" atv="-0.09052633717339703"
scale="0.25"
destscale="0.25"
onclick="hotspot_animate();"
/>
...usw...
<action name="hotspot_animate">
switch(destscale,0.25,1.8);
tween(scale,$destscale);
switch(plugin[helptext].visible,true, false);
switch(plugin[helptext].enabled,true, false);
switch(plugin[helptext].alpha, 0.5, 0.1);
tween(plugin[helptext].alpha,0.7);
</action>
Display More
My problem is the onclick action of my hotspots. It only triggers on the last one. Did I make something wrong or could there be an interaction with some other actions/plugins?
Please be patient, it's the first real usage of krpano for me.
_____________________________________________________________________________________
Mein Problem besteht darin, dass zwar alle Hotspots angezeigt werden, aber nur das onclick event des letzten Hotspots funktioniert.
Ich arbeite gerade das erste Mal eingehender mit dem krpano, also bitte nicht gleich über mich herfallen