Beiträge von dimazz

    I took the old xml (krpano version 1.16) and try to make it work with krpano version 1.19-pr8. All works, except that the variable (viewdir), which I use to determine the view direction is not taken from the hotspot.
    What could be the problem ?

    Code
    <style name="skin_hotspotstyle" url="img/hotspot.png" scale="0.3" edge="center" oy="0"
    	       distorted="true"
    	      onclick="if(linkedscene, tween(scale,0.25,0.5); tween(oy,-20,0.5); tween(alpha,0,0.5); lookto(get(ath),0);
    		   			loadscene(get(linkedscene),null, MERGE ,ZOOMBLEND(1,2)););
    					lookat(get(viewdir),0);"
    		  onhover="tween(scale,0.35,0.1);"
    		  onout="tween(scale,0.3,0.1)"
    	       />