Sie sind nicht angemeldet.

jophine

Anfänger

  • »jophine« ist der Autor dieses Themas

Beiträge: 10

Wohnort: India

Beruf: Developer

  • Nachricht senden

1

Freitag, 16. November 2012, 15:45

Removing krpano from stage

hi

i tried to remove krpano from stage which is embeded in a div tage using .call(unloadkrpano()) using javascript. but its not working

any solution for this.

how can i remove the embeded krpano from an html page and clear the memory and cache also

2

Mittwoch, 21. November 2012, 17:20

Hi,

for the Flash version - just remove the Flash element or the containing div element,

for the HTML5 version - call the 'unload' function of the krpano object,
e.g.

Quellcode

1
2
3
4
5
var krpano = document.getElementById("krpanoSWFObject");
if (krpano && krpano.unload)
{
   krpano.unload();
}


Best regards,
Klaus