In index.htm I have the following code:
<script>
var viewer = createPanoViewer({swf:"krpano.swf", id:"krpanoSWFObject", target:"krpanoDIV"});
//viewer.useHTML5("whenpossible"); // incomment to use the HTML5 krpanoJS viewer always when possible (Safari5)
if( viewer.isDevice("iPhone|Android") )
viewer.addVariable("xml", "xml/iphone-android.xml");
else
if( viewer.isDevice("iPad") )
viewer.addVariable("xml", "xml/ipad.xml");
else
viewer.addVariable("xml", "xml/pc.xml");
viewer.passQueryParameters();
viewer.embed();
</script>
So I can call index.htm and specify which scene to open with, ie
index.htm?scenetoload=pano5
My question, how (and where) do I set in the index.htm that scenetoload=pano5. I could call from another html file and specify but I need to set up a number of html files which will be identical but each load a different scene.
Thanks in advance
Tim