Hello I need help about krpano..
I am trying to change the sphere url="../storage/uploads/images/tnb.jpg" using javascript
The vrandgyro.xml contain this code
<image stereo="true" stereoformat="TB">
<sphere url="../storage/uploads/images/tnb.jpg" />
</image>
I am looking for a javascript code like
<div id="pano" style="width:100%; height:100%;"></div>
<script>
embedpano({swf:"inc/krpano.swf", xml:"xml/vrandgyro.xml", target:"pano"});
</script>
<script>
window.onload = function() {
sphere.url = "../storage/uploads/images/sbs.jpg";
}
</script>
please help I need to change the sphere url using javascript.