Whats the best way to safely remove a active pano, and load a new one into the same div?
Currently, I use the following:
Code
//remove existing pano
$('#krpanoSWFObject').remove();
//Embed new one
embedpano({swf:swf, xml:xml, target:"pano", wmode:'opaque'});
This method works great on desktop browers, and iPad2/3 safari. On iPad1 Safari, the first Pano loads fine, then as soon as you load a new one in it crashes Safari.
Any clues?