关于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 + ");");

猜你喜欢

转载自blog.csdn.net/milijiangjun/article/details/81225157