Skip to content

Instantly share code, notes, and snippets.

@matiskay
Created December 23, 2011 17:48
Show Gist options
  • Save matiskay/1514900 to your computer and use it in GitHub Desktop.
Save matiskay/1514900 to your computer and use it in GitHub Desktop.
Kr Pano
<img src="thumb2.jpg" width="256" height="128" onclick="loadpano('pano2.xml');">
<script src="../../../swfkrpano.js"></script>
// <![CDATA[
embedpano({swf:"../../../krpano.swf", id:"krpanoSWFObject", xml:"pano1.xml", target:"krpanoDIV", width:"516", height:"300"});
function krpano()
{
return document.getElementById("krpanoSWFObject");
}
function loadpano(xmlname)
{
krpano().call("loadpano(" + xmlname + ", null, MERGE, BLEND(1));");
}
// ]]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment