关于krpano得互相调取

 

var ath = Data.Krpano.get("hotspot[hotsport].ath");// js获取教hotsport 得ath属性


 <button onclick="js(GetInfo())" ></button> //krpano调用js
 <button onclick="js(alert(0);)" ></button>
  Data.Krpano.set("autorotate.enabled", true); js设置旋转停止
  Data.Krpano.call("set(hotspot[newspot].ath," + ath + ");");

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章