Sie sind nicht angemeldet.

Suchergebnisse

Suchergebnisse 1-2 von insgesamt 2.

Freitag, 21. Mai 2010, 03:58

Forenbeitrag von: »codexmas«

Calling embed via click doesn't work on iPhone/iPad

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.

Donnerstag, 20. Mai 2010, 23:53

Forenbeitrag von: »codexmas«

Calling embed via click doesn't work on iPhone/iPad

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...