Hallo,
ich habe derzeit einen kleines Problemchen mit meinen Hotspots.
Ich setze zu Beginn alle HS auf visible="false".
Dann habe ich Aktionen zum ein/ausblenden:
Code
<!-- Hotspots einblenden -->
<action name="showHotspots">
set(hotspots.visible, true);
tween(hotspot.alpha, 1, 1.5);
</action>
<action name="showHotspotsFast">
set(hotspots.visible, true);
set(hotspots.alpha, 1);
showtext('[b][i]showHotspotsFast[/i][/b]', DEMO);
</action>
<!-- Hotspots ausblenden -->
<action name="hideHotspots">
tween(hotspot.alpha, 0, 0.5, none, set(hotspots.visible, false););
</action>
<action name="hideHotspotsFast">
set(hotspots.visible, false);
set(hotspots.alpha, 0);
showtext('[b][i]hideHotspotsFast[/i][/b]', DEMO);
</action>
Display More
Beim onstart-Befehl des Panos schreibe ich:
Code
<krpano version="1.0.8" onstart="action(hideHotspotsFast);
wait(load);
lookto(329.26, 4.86, 100, smooth(360,-5,20));
action(showHotspots);
wait(2);
set(autorotate.enabled, true);
">
Allerdings blendet er mir die HS nicht wieder ein.
Weiß jemand warum?
Danke
iceman
EDIT: gibt es eigentlich eine Eigenschaft, welche die Mausbewegung abfragt - also so etwas wie onmove, da ich die HS nur bei Mausbewegung einblenden möchte und sonst per onidle ausblenden lassen will.