At this URL
http://piemontecomuni.it/noasca/test.html
a simple pano in Flash Mode (embedpano with html5 set to never); when you click into the pano an alert with the coords appear but only in Firefox and not in Chrome.
embedpano({......html5:"never", wmode:"transparent".....});
I have forced the wmode at trasparent but the click action dont'work
The javascript is very simple
Code
function getlookat()
{
var krpano = document.getElementById("krpanoSWFObject");
if (krpano && krpano.get) // it can take some time until krpano is loaded and readyText To Copy
{
var mousex = krpano.get("mouse.x");
var mousey = krpano.get("mouse.y");
alert(mousex + " "+mousey);return;
}
}
// ]]>
Alles anzeigen
What is broken? Thank you in advance