Hi,
I am using a content delivery network and I'm storing panoramas in separate containers which means each panorama has its own URL. I would like to add hotspots to some panoramas which load another panorama when clicked. Something like:
Code
<hotspot name="spot_1"
url="%SWFPATH%/images/hotspsot_marker.png"
keep="false"
ath="117.2897" atv="24.1219"
width="36" height="36"
scale="1" scale9grid="" scalechildren="false" rotate="0"
visible="true" enabled="true" handcursor="true" capture="true" children="true"
onhover="showtext(Click to view this panorama);"
onclick="loadpano('http://cdn.002.host.com/pano.xml', null, MERGE, blend(1));"
/>
When I use this code, the krpano viewer tries to load http://cdn.001.host.com/http:/cdn.002.host.com/pano.xml
That is, it's prepending the current panorama path to the URL and dropping a forward slash after the http on the new URL.
I tried numerous attempts at escaping the double forward slash but couldn't work it out. Any suggestions on this or advice on whether loadpano() can actually load from another domain would be much appreciated.
Thanks,
Andrew