Super-No.02 krpano开发文档阅读总结

1、krpano嵌入HTML中:

1)引入<script src="swfkrpano.js"></script>

       <script src="tour.js"></script>

2)创建显示区域:<div id="pano" style="width:100%; height:100%;"></div>

3)创建Pano视图:

createPanoViewer:

     var viewer = createPanoViewer({swf:"krpano.swf"});
     viewer.addVariable("xml", "pano.xml");
     viewer.embed("pano");

embedpano:

     embedpano({sef:"krpano.swf", xml:"pano.xml", target:"pano"})

你可能感兴趣的:(super)