Hello,
I cant get a html button in de layout of my website to changes the scene in the xml of a panotour?
html
Code
<button id="button" onclick="javascript:krpano().call('loadscene(video_scene2)')" type="button">Click Me!</button>
javascript
Code
function krpano(){ return document.getElementById('krpanoSWFObject'); }
embedpano({swf:"../plugins/krpano.swf", xml:"krpano2.xml", target:"pano", html5:"prefer", passQueryParameters:true});
What am i doing wrong?