Suchergebnisse
Suchergebnisse 1-2 von insgesamt 2.
Has anyone tried this method? It works great for changing the pano on regular browsers. I suspect it has to do with how the iphone specific js file operates. I noticed the object for the flash version has much more data and versatility than the one gererated for the iPhone.
I have a link in a pano that I generated that has a JS call to a function in my script entry: <script type="text/javascript"> var swf = createswf("krpano.swf"); function showPano(panoName) { swf.addVariable("xml",panoName); swf.embed("krpanoDIV"); } /* Edit filename below for first pano to be shown on pageload */ showPano('test1.xml'); </script> The link then has an onClick event that calls showPano('test2.xml') This function call is working, putting an alert into the function causes it to appea...