Internet Explorer: Object doesn't support property or method 'call'

  • We're having an odd issue with KRPano, when clicking on a hotspot in any IE version the following error occurs: Object doesn't support property or method 'call'.

    However, when controlling the interface with javascript (besides hotspots) everything else works. To me it seems like the reference is lost on the krpano id or the embedpano randomly is moved or removed from the DOM but only in IE as every other browser works. Has anyone else ever encountered this?

  • Had the same issue and was able to resolve by waiting for the krpano HTML element to finish loading. Other browsers are fine without the setInterval because of the document load order, but IE8 needs it.

    Give this a try (came out horribly formatted, sorry):

    Code
    var krpano;
    function getKRPano() {	if(!krpano) {		krpano = document.getElementById('krpanoSWFObject');	} else if (krpano && krpano.get) {		clearInterval(interval);		doStuff();	} else {		console.log('waiting...');	}}
    var interval = setInterval(getInfo, 1000);

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!