Sie sind nicht angemeldet.

1

Donnerstag, 22. Juni 2017, 14:46

WARNING: js() - calling Javascript "test()" failed: TypeError: krpano.get is not a function

WARNING: js() - calling Javascript "test()" failed: TypeError: krpano.get is not a function

js:

function test(){
var krpano = document.getElementById("krpanoSWFObject");
alert(krpano.get("device.desktop"));

}

xml:

js(test());

Beiträge: 770

Wohnort: Russian Federation

Beruf: Interpreting, Building virtual tours

  • Nachricht senden

2

Donnerstag, 22. Juni 2017, 15:01

Hi)

just tried your code and it works...
Regards,

Alexey