Can someone show me an example with hotspot variables for ath, atv and scale? I'm not finding anything in the documentation or examples that put this together.
This is the idea and example I'm trying to get to work.
Code
<krpano version="1.16" onstart="">
<preview type="grid(cube,16,16,512,0xCCCCCC,0xFFFFFF,0x999999);" details="16" />
<!-- variables -->
hs1_ath="0"
hs1_atv="0"
hs1_scale="0.8"
<!-- hotspot using variables -->
<hotspot name="hs1" url="img.png" width="100" height="100" zoom="true" visible="true" ath="hs1_ath" atv="hs1_atv" scale="hs1_scale"/>
</krpano>
Alles anzeigen
Thanks,
Phil