關於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 + ");");

 

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