Commit ec7fed6a by junxiang wang

更新内容

parent 976f3296
<!DOCTYPE html>
<html>
<head>
<title>玩转丹寨万达小镇</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<style>
*{
margin: 0;
padding: 0;
border:none;
}
.page-wrap{
position: absolute;
width: 100%;
height: 100%;
background-image: url("/images/load/hello.png");
background-size: cover;
background-repeat: no-repeat;
background-position: bottom center;
}
.logo{
margin:30px 0 0 20px;
height: 14px;
display: block;
}
.title{
position: absolute;
width: 235px;
bottom: 207px;
left: 50%;
transform: translateX(-50%);
}
.mtitle{
position: absolute;
height: 15px;
bottom: 162px;
left: 50%;
transform: translateX(-50%);
}
.go{
position: absolute;
height: 63px;
bottom: 18px;
left: 50%;
transform: translateX(-50%);
}
</style>
<!-- <script src="/libs/vue/vue.js"></script>-->
</head>
<body id="app">
<div class="page-wrap">
<img class="logo" src="/images/load/logo.png" />
<img class="title" src="/images/load/title.png" />
<img class="mtitle" src="/images/load/mtitle.png" />
<img onclick="toPano()" class="go" src="/images/load/go.png" />
</div>
<script>
function toPano() {
location.href = '/vr.html'
}
</script>
</body>
</html>
...@@ -56,10 +56,12 @@ ...@@ -56,10 +56,12 @@
<img class="logo" src="/images/load/logo.png" /> <img class="logo" src="/images/load/logo.png" />
<img class="title" src="/images/load/title.png" /> <img class="title" src="/images/load/title.png" />
<img class="mtitle" src="/images/load/mtitle.png" /> <img class="mtitle" src="/images/load/mtitle.png" />
<img class="go" src="/images/load/go.png" /> <img onclick="toPano()" class="go" src="/images/load/go.png" />
</div> </div>
<script> <script>
function toPano() {
location.href = '/tour.html'
}
</script> </script>
</body> </body>
</html> </html>
<krpano>
<!-- the skin -->
<include url="skin/defaultskin.xml" />
<!-- view settings -->
<view hlookat="0" vlookat="0" maxpixelzoom="1.0" fovmax="150" limitview="auto" />
<preview url="vr.tiles/preview.jpg" />
<image prealign="0|0.0|0">
<cube url="vr.tiles/pano_%s.jpg" />
</image>
</krpano>
<krpano>
<!--
fps (frames per second) xml plugin
- this plugin shows the current average rendering frame-rate
- krpano 1.18
-->
<action name="fps_install" autorun="preinit">
delayedcall(1.0,
addlayer(fps_display);
set(layer[fps_display].keep, true);
set(layer[fps_display].align, 'lefttop');
if(device.mobile AND stagescale LT 1.0,
<!-- a larger font for mobiles -->
set(layer[fps_display].css, 'font-size:24px; color:#FFFFFF;');
,
<!-- and a smaller font for desktop and tablets -->
set(layer[fps_display].css, 'font-size:12px; color:#FFFFFF;');
);
set(layer[fps_display].textshadow, 0.01);
set(layer[fps_display].background, false);
set(layer[fps_display].parent, STAGE);
set(layer[fps_display].enabled, false);
set(layer[fps_display].url, '%SWFPATH%/plugins/textfield.swf');
fps_update();
);
</action>
<action name="fps_update">
copy(tmp, display.currentfps);
roundval(tmp);
txtadd(layer[fps_display].html, 'FPS: ', get(tmp));
delayedcall(0.5, fps_update());
</action>
</krpano>
/*
krpano 1.19-pr10 ScrollArea Plugin (build 2017-05-10)
http://krpano.com/plugins/scrollarea/
*/
var krpanoplugin=function(){function P(a){return"boolean"==typeof a?a:0<="yesontrue1".indexOf(String(a).toLowerCase())}function Z(a){if(a&&k&&aa){var c=k.timertick,f=0;0==Q&&(Q=c);var b=c-Q|0;Q=c;"wheel"==a.type?f=a.deltaY:"mousewheel"==a.type?f=-a.wheelDelta:"DOMMouseScroll"==a.type&&(f=a.detail);f=-f;500<b?R=1==a.deltaMode||0==f%20?0:1:66>b&&0==R&&0!=f%40&&6<Math.abs(f)&&(R=1);a.preventDefault();a.stopPropagation();0!=f&&(0==R?f=0>f?-5:5:(f/=20,-10>f?f=-10:10<f&&(f=10)),1==n?S(f*A,0):2==n?S(0,f*
y):3==n&&S(0,f*y))}}function u(a,c,f,b,e){var d=null;e=(!0===e?"remove":"add")+"EventListener";var g=T.browser.events;if(g.touch&&("down"==c?d=g.touchstart:"move"==c?d=g.touchmove:"up"==c&&(d=g.touchend),T.ie&&0==g.mouse&&("over"==c?d=g.pointerover?g.pointerover:"MSPointerOver":"out"==c&&(d=g.pointerout?g.pointerout:"MSPointerOut")),d))a[e](d,f,b);if(g.mouse&&("down"==c?d="mousedown":"move"==c?d="mousemove":"up"==c?d="mouseup":"over"==c?d="mouseover":"out"==c&&(d="mouseout"),d))a[e](d,f,b)}function fa(){if(b){var a=
b.sprite.parentNode;a&&(a=a.kobject)&&(a.maskchildren=!0,a.poschanged&&a.updatepluginpos(),b.poschanged&&b.updatepluginpos(),ba=a,r=a.pixelwidth,t=a.pixelheight,isNaN(r)&&(r=0),isNaN(t)&&(t=0),D=0<r||0<t)}}function G(){e=Number(b.x);d=Number(b.y);isNaN(ca)&&(e=0);isNaN(da)&&(d=0)}function H(a){a=void 0===a?!1:a;1==(n&1)?b.x!=e&&(b.x=e,a=!0):e=0;2==(n&2)?b.y!=d&&(b.y=d,a=!0):d=0;!D||U[0]==v&&U[1]==w||(U[0]=v,U[1]=w,a=!0);if(a&&b&&D){a=r-v;var c=t-w,f=e,l=d;isNaN(f)&&(f=0);isNaN(l)&&(l=0);f+=a*p;l+=
c*q;b.woverflow=-a;b.hoverflow=-c;b.loverflow=Math.round((-f+E*a)*A);b.roverflow=Math.round((+f-(1-E)*a)*A);b.toverflow=Math.round((-l+F*c)*y);b.boverflow=Math.round((+l-(1-F)*c)*y);b.onscroll&&k.call(b.onscroll,b)}}function ga(a){for(;0<z.length&&!(100>=a-z[0].time);)z.shift()}function I(){fa();var a=String(b.align).toLowerCase();if(""==a||"null"==a)a="lefttop";y=A=1;q=p=.5;F=E=0;0<=a.indexOf("left")&&(p=E=0,A=1);0<=a.indexOf("top")&&(q=F=0,y=1);0<=a.indexOf("right")&&(E=1,p=0,A=-1);0<=a.indexOf("bottom")&&
(F=1,q=0,y=-1)}function ha(a){I();z=[];if(0==J)x=!1;else{u(window,"up",ia,!0);u(window,"move",ja,!0);var c=k.stagescale,f=a.changedTouches&&0<a.changedTouches.length?a.changedTouches[0]:a;a=f.pageX/c;c=f.pageY/c;x=!1;V=a;W=c;return!1}}function ka(a){(void 0===a.pointerType||4==a.pointerType||"mouse"==a.pointerType)&&ea&&(I(),0!=D&&(a=t-w,0>r-v||0>a))&&(K=!0,u(b.sprite,"move",la,!0),u(b.sprite,"out",ma,!0))}function la(a){K&&0==x&&ba&&(a=ba.getmouse(),X(a.x/r*b.pixelwidth,a.y/t*b.pixelheight,!0))}
function ma(a){u(b.sprite,"move",la,!0,!0);u(b.sprite,"out",ma,!0,!0);K=!1}function ja(a){if(0==J)return x=!1;var c=k.stagescale,f=a.changedTouches&&0<a.changedTouches.length?a.changedTouches[0]:a;a=f.pageX/c;c=f.pageY/c;0==x&&(n&1&&5<Math.abs(a-V)||n&2&&5<Math.abs(c-W))&&(B&&(g=h=0,B=!1),null!=m&&(clearInterval(m),m=null),x=!0,K=!1,V=a,W=c,G(),ca=e,da=d);x&&(f=k.timertick,ga(f),z.push({time:f,x:a,y:c}),e=ca+(a-V)*A,d=da+(c-W)*y,a=-(v-r),c=-(w-t),e+=a*p,d+=c*q,f=1/(1+C*C),e=0<a?e-(e-a*p)*f:e-(0<e?
e:e<a?e-a:0)*f,d=0<c?d-(d-c*q)*f:d-(0<d?d:d<c?d-c:0)*f,e-=a*p,d-=c*q,H());return!1}function ia(a){u(window,"up",ia,!0,!0);u(window,"move",ja,!0,!0);if(0==J)g=h=0,x=!1;else if(x){ga(k.timertick);if(1<z.length){a=z[0];var c=z[z.length-1],f=c.y-a.y,b=(c.time-a.time)*Y;h=(c.x-a.x)/b*A;g=f/b*y}else g=h=0;m=setInterval(L,1E3/60);x=!1}}function pa(){setTimeout(function(){fa();H(!0);null==m&&(m=setInterval(L,1E3/60))},100)}function L(){e+=h;d+=g;h*=M;g*=M;var a=0,c=0,b=-(v-r),l=-(w-t);e+=b*p;d+=l*q;0<b?a=
e-b*p:B?a=e-na:e<b?a=e-b:0<e&&(a=e);.1>a*a&&(a=0);0<l?c=d-l*q:B?c=d-oa:d<l?c=d-l:0<d&&(c=d);.1>c*c&&(c=0);e-=b*p;d-=l*q;0==(n&1)&&(h=a=0);0==(n&2)&&(g=c=0);0!=a&&(a*=-1,e+=a*(1-C),h=0>=a*h?h+a*N:a*O,h*=C);0!=c&&(c*=-1,d+=c*(1-C),g=0>=c*g?g+c*N:c*O,g*=C);0==a&&0==c&&.05>Math.sqrt(h*h+g*g)&&(B=!1,g=h=0,clearInterval(m),m=null);H()}function X(a,c,b){I();G();if(0==D)setTimeout(function(){X(a,c,b)},10);else{a=Number(a);isNaN(a)&&(a=0);c=Number(c);isNaN(c)&&(c=0);var l=r-v,g=t-w;a=E*v+a*A;c=F*w+c*y;a*=
-1;c*=-1;a+=r/2;0<a&&(a=0);a<l&&(a=l);c+=t/2;0<c&&(c=0);c<g&&(c=g);!0===b?(B=!0,na=a,oa=c,null==m&&(m=setInterval(L,1E3/60))):(l=-(v-r),g=-(w-t),a=0>l?a-l*p:0,c=0>g?c-g*q:0,e=a,d=c,H())}}function qa(a,c){X(a,c,!0)}function ra(){null!=m&&(clearInterval(m),m=null);K=x=!1;z=[];g=h=0;B=!1;G()}function S(a,c){B=!1;a=Number(a);isNaN(a)&&(a=0);c=Number(c);isNaN(c)&&(c=0);I();G();if(0!=D){var b=r-v,l=t-w,k=!1;0>b&&(e+=b*p,0<a&&0>e?(k=!0,h+=a):0>a&&e>b&&(k=!0,h+=a),e-=b*p);0>l&&(d+=l*q,0<c&&0>d?(k=!0,g+=c):
0>c&&d>l&&(k=!0,g+=c),d-=l*q);k&&null==m&&(m=setInterval(L,1E3/60))}}var k=null,b=null,T=null,n=3,v=0,w=0,U=[0,0],D=!1,ba=null,r=0,t=0,B=!1,na=0,oa=0,A=1,y=1,p=0,q=0,E=0,F=0,C=1,M=.95,N=.08,O=.15,Y=1/15,J=!0,aa=!0,x=!1,V=0,W=0,e=0,d=0,ca=0,da=0,m=null,z=[],h=0,g=0,K=!1,ea=!1;this.registerplugin=function(a,c,d){k=a;b=d;"1.19">k.version?(k.trace(3,"Scrollarea Plugin - too old krpano version (min. version 1.19)"),b=k=null):(T=k.device,b.registerattribute("direction","all",function(a){a=String(a).toLowerCase();
n=0;n|=1*(0<=a.indexOf("h"));n|=2*(0<=a.indexOf("v"));n|=3*(0<=a.indexOf("all"))},function(){return 3==(n&3)?"all":1==(n&1)?"h":"v"}),b.registerattribute("overscroll",C,function(a){C=0>a?0:1<a?1:a},function(){return C}),b.registerattribute("friction",M,function(a){M=Number(a)},function(){return M}),b.registerattribute("acceleration",N,function(a){N=Number(a)},function(){return N}),b.registerattribute("returnacceleration",O,function(a){O=Number(a)},function(){return O}),b.registerattribute("momentum",
Y,function(a){Y=Number(a)},function(){return Y}),b.registerattribute("onscroll",null),b.registerattribute("woverflow",0),b.registerattribute("hoverflow",0),b.registerattribute("loverflow",0),b.registerattribute("roverflow",0),b.registerattribute("toverflow",0),b.registerattribute("boverflow",0),b.registerattribute("draggable",!0,function(a){J=P(a)},function(){return J}),b.registerattribute("mwheel",!0,function(a){aa=P(a)},function(){return aa}),b.registerattribute("onhover_autoscrolling",!1,function(a){ea=
P(a)},function(){return ea}),b.registerattribute("csshardwareacceleration","auto"),b.setcenter=X,b.scrolltocenter=qa,b.stopscrolling=ra,b.scrollby=S,1==P(b.csshardwareacceleration)&&(b.sprite.style[T.browser.css.transform+"Style"]="preserve-3d"),b.sprite.addEventListener("DOMMouseScroll",Z,!0),b.sprite.addEventListener("mousewheel",Z,!0),b.sprite.addEventListener("wheel",Z,!0),u(b.sprite,"down",ha,!0),u(b.sprite,"over",ka,!0),k.set("events["+b.name+"_scrollarea].keep",!0),k.set("events["+b.name+"_scrollarea].onresize",
pa))};var Q=0,R=0;this.onresize=function(a,c){if(!k)return!1;v=a;w=c;var b;B=!1;I();G();if(0==D)b=!1;else{b=r-v;var g=t-w,h=!1;e+=b*p;if(0>b){if(0>e||e>b)h=!0}else 0!=e&&(h=!0);e-=b*p;d+=g*q;if(0>g){if(0>d||d>g)h=!0}else 0!=d&&(h=!0);d-=g*q;h&&null==m&&(m=setInterval(L,1E3/60));b=h}0==b&&H(!0);return!1};this.unloadplugin=function(){k&&b&&(k.set("events["+b.name+"_scrollarea].name",null),null!=m&&(clearInterval(m),m=null),u(b.sprite,"down",ha,!0,!0),u(b.sprite,"over",ka,!0,!0));k=b=null}};
/*
krpano 1.19-pr10 Sound Interface Plugin (build 2017-05-10)
http://krpano.com/plugins/soundinterface/
*/
"[[KENCPUZR$[@SJD0Vc*(mT@/#rpp]9QmfX8;W(T,8@`D=crK#7'eYlP1&G3T`%[(<]V#iZJgm%gbi0NFu@(h>mpT>*b@h^:e,TH_nXw1&KHGjD>]b1HCIrAfHr+%<8=?XH%a&uiP?u*tP4$w8)4jt7PT.w3>K_@gDle'9E$b*^;;P&N9ojE,*=HCR6Dw%upobgt]P-Z:xE]KfR]CE4nYF_fUcRQ3J0u^1H]FRgBldX3Y6e'oJwNd8mkbP#]1YhT'*=e>JN7KS0`[-Gsq/Cg5SIh8w2XY$eJbq;dTjJ9[@vPS)&>]Tbk'WmrmfuhT6Ix[xI.4n*.U,@o>FCSxk8v.XS>wSs7Rsp@-(c$aq2,Td/fQ[:X3[f%S'?&XvfRCRs=)Xk?#KsYI1eGB:S9o22E=6:,=2%K6$U7M0k=T'>)iWU-t2^Pnv#HAf$2Mr<89XJkpjC-68:mT?hx)kh+j7$%?.m=LnGO$gL`J>]P,o5&F[iXoQ5f533f]9rAE3bm4K1LTC*dEWDEiQu'Ek(JtG>je)q8J_6?C*uT6D^P3KOK**p14dXf30Dq:b`<Whk9x,R>9D-rf@;JR.u]]$n1(_iO20)IYrS(rk,h3t:]?gVn'nqF81UhLeLwk^isfAE6xkq87PoaiJ.;G_;X$rJC^g-hD+:tx>_cl=^0JbwfKMg#;USg/f%CYm^f#jSCUgfF5A91SK%V&R3>).m4KtwSn)?.2Pn7fp]iXAqM`DY_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g'+,1L1pI+htQt`j'*?'W>?hheRB.WX?^&d3Qc?G'@a-dXb/A7N[3gZaP^G@Tw+L?q_1g6p`<)PR?[ek:6-5Y/eX=R,-,hVYcDNOau,8m=RTZKHDq0aRj>K]bbKaH0$6c*#YkdER*I2`]B_5E.i:uD*1KrB''niObP4rVm[8S<gMhj@ib>oFOT5i@$tucV(X0XdCs?d2r`t3teYB2ut5#_;fpgO;(aoLSW;tX2.bGPU`tJCDjl@H%>?*xRamsrOpWtVW-F)iOs(?%0Q7CiE5-8c3qv.lBa/5O<C&f9k)K1bX90ROkv[rX=Q[tQ9kn#7ikng/)ql/r`RluHL*B38Zma5FKt*e&A`r6sJ6^;=MqBg]=sZVbs&o[oiY@4utaw//4o8QN=b<4pc>jpNQ<Yj4_X6kqm`0`bMqOs.h2d313>R;G.mP%>lW<ja_1MR[K's++g7emKrs2hmHdHST+/J=8Vl$OroJwg8puw@^gr+b@A5ZU2k=H;B%i<@=&U8RW6K_+VsVonTdCFs=]]";
<!DOCTYPE html>
<html>
<head>
<title>度假到丹寨</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<style>
*{
margin: 0;
padding: 0;
border:none;
}
.page-wrap{
position: absolute;
width: 100%;
height: 100%;
background-image: url("/images/show/fupin.png");
background-size: cover;
background-repeat: no-repeat;
background-position: bottom center;
}
.nav-list{
margin-top: 20px;
width: 100%;
white-space: nowrap;
height: 102px;
overflow-y: hidden;
overflow-x: scroll;
}
.nav-item{
display: inline-block;
width: 57px;
height: 102px;
margin-left: 22px;
}
.nav-item.active{
background: rgba(23, 40, 63, 0.3);
}
.nav-item__iconbox{
margin: 4px 1px 6px;
width: 55px;
height: 55px;
border-radius: 50px;
overflow: hidden;
background: rgba(255,255,255,.2);
position: relative;
}
.nav-item__icon{
position: absolute;
left: 50%;
top: 50%;
vertical-align: top;
transform: translate(-50%,-50%);
width: 50px;
height: 50px;
border-radius: 50px;
overflow: hidden;
}
.nav-item__mtitle{
text-align: center;
font-size: 14px;
color: #fff;
}
</style>
<script src="/libs/vue/vue.js"></script>
</head>
<body>
<div class="page-wrap" id="app">
<div class="nav-list">
<div class="nav-item" v-for="(item,idx) in navs" :key="idx" :class="{active:idx===activeIdx}" @click="setActive(item,idx)">
<div class="nav-item__iconbox">
<img :src="item.icon" class="nav-item__icon" />
</div>
<div class="nav-item__mtitle" v-html="item.mtitle"></div>
</div>
</div>
</div>
<script>
var vueInstance = new Vue({
el:'#app',
data(){
return {
activeIdx:0,
navs:[
{mtitle:'高要<br\/>梯田',icon:'/images/show/nav-item-1.png',title:'高要梯田',thumb:'https://cdnly.itour.fun/bb/21c530a5e2677f8a0906c5f68f4fa4.png',content:'扶贫茶园是在丹寨县委县政府的支持下,由丹寨万达小镇推出的新型扶贫公益项目,通过扶贫茶园认领的方式打造丹寨高品质茶叶品牌“丹红”“丹绿”,整合丹寨茶产业链、打造丹寨茶产业平台。游客来这里可采茶、制茶、吃茶餐、做研学。'},
{mtitle:'排廷<br\/>瀑布',icon:'/images/show/nav-item-1.png',title:'排廷瀑布',thumb:'https://cdnly.itour.fun/bb/21c530a5e2677f8a0906c5f68f4fa4.png',content:'排廷瀑布'},
{mtitle:'石桥村<br\/>&nbsp;',icon:'/images/show/nav-item-1.png',title:'石桥村',thumb:'https://cdnly.itour.fun/bb/21c530a5e2677f8a0906c5f68f4fa4.png',content:'石桥村'},
{mtitle:'金汞矿<br\/>遗址',icon:'/images/show/nav-item-1.png',title:'金汞矿遗址',thumb:'https://cdnly.itour.fun/bb/21c530a5e2677f8a0906c5f68f4fa4.png',content:'金汞矿遗址'},
{mtitle:'扶贫<br/>茶园',icon:'/images/show/nav-item-1.png',title:'扶贫茶园',thumb:'https://cdnly.itour.fun/bb/21c530a5e2677f8a0906c5f68f4fa4.png',content:'扶贫茶园'},
{mtitle:'高要<br\/>梯田',icon:'/images/show/nav-item-1.png',title:'高要梯田',thumb:'https://cdnly.itour.fun/bb/21c530a5e2677f8a0906c5f68f4fa4.png',content:'扶贫茶园是在丹寨县委县政府的支持下,由丹寨万达小镇推出的新型扶贫公益项目,通过扶贫茶园认领的方式打造丹寨高品质茶叶品牌“丹红”“丹绿”,整合丹寨茶产业链、打造丹寨茶产业平台。游客来这里可采茶、制茶、吃茶餐、做研学。'},
{mtitle:'排廷<br\/>瀑布',icon:'/images/show/nav-item-1.png',title:'排廷瀑布',thumb:'https://cdnly.itour.fun/bb/21c530a5e2677f8a0906c5f68f4fa4.png',content:'排廷瀑布'},
{mtitle:'石桥村<br\/>&nbsp; ',icon:'/images/show/nav-item-1.png',title:'石桥村',thumb:'https://cdnly.itour.fun/bb/21c530a5e2677f8a0906c5f68f4fa4.png',content:'石桥村'},
{mtitle:'金汞矿<br\/>遗址',icon:'/images/show/nav-item-1.png',title:'金汞矿遗址',thumb:'https://cdnly.itour.fun/bb/21c530a5e2677f8a0906c5f68f4fa4.png',content:'金汞矿遗址'},
{mtitle:'扶贫<br/>茶园',icon:'/images/show/nav-item-1.png',title:'扶贫茶园',thumb:'https://cdnly.itour.fun/bb/21c530a5e2677f8a0906c5f68f4fa4.png',content:'扶贫茶园'}
]
}
},
methods:{
setActive(item,idx){
this.activeIdx = idx
}
}
})
</script>
</body>
</html>
<krpano>
<!-- krpano 1.19 default buttons skin -->
<!-- set the default mouse and touch control modes (drag or moveto) -->
<control mouse="drag" touch="drag" />
<!-- default autorotate settings (disabled by default) -->
<autorotate enabled="false" waittime="1.0" accel="2.0" speed="8.0" horizon="0.0" tofov="90.0" />
<!-- control buttons style -->
<style name="defaultskin_button" url="buttons-2.png" scale="0.5" align="lefttop" />
<!-- the container layer that contains the buttons -->
<!-- <layer name="defaultskin_buttons" type="container" width="360" height="40" align="bottom=" y="10" scalechildren="true" scale="1.0" keep="true">-->
<!-- <layer name="btn_in" x="0" style="defaultskin_button" crop="320|0|80|80" onovercrop="320|80|80|80" ondown="set(fov_moveforce,-1);" onup="set(fov_moveforce,0);" />-->
<!-- <layer name="btn_out" x="40" style="defaultskin_button" crop="400|0|80|80" onovercrop="400|80|80|80" ondown="set(fov_moveforce,+1);" onup="set(fov_moveforce,0);" />-->
<!-- <layer name="btn_left" x="80" style="defaultskin_button" crop= "0|0|80|80" onovercrop= "0|80|80|80" ondown="set(hlookat_moveforce,-1);" onup="set(hlookat_moveforce,0);" />-->
<!-- <layer name="btn_right" x="120" style="defaultskin_button" crop= "80|0|80|80" onovercrop= "80|80|80|80" ondown="set(hlookat_moveforce,+1);" onup="set(hlookat_moveforce,0);" />-->
<!-- <layer name="btn_up" x="160" style="defaultskin_button" crop="160|0|80|80" onovercrop="160|80|80|80" ondown="set(vlookat_moveforce,-1);" onup="set(vlookat_moveforce,0);" />-->
<!-- <layer name="btn_down" x="200" style="defaultskin_button" crop="240|0|80|80" onovercrop="240|80|80|80" ondown="set(vlookat_moveforce,+1);" onup="set(vlookat_moveforce,0);" />-->
<!-- <layer name="btn_ctrlmode" x="240" style="defaultskin_button" crop="800|0|80|80" onovercrop="800|80|80|80" onclick="switch(control.mouse,drag,moveto); switch(control.touch,drag,moveto); update_ctrl_mode();" />-->
<!-- <layer name="btn_autorot" x="280" style="defaultskin_button" crop="480|0|80|80" onovercrop="480|80|80|80" onclick="switch(autorotate.enabled);" />-->
<!-- <layer name="btn_fs" x="320" style="defaultskin_button" crop="560|0|80|80" onovercrop="560|80|80|80" onclick="switch(fullscreen);" visible="true" devices="fullscreensupport" />-->
<!-- </layer>-->
<!-- no fullscreen support => no fullscreen button => smaller container width -->
<layer name="defaultskin_buttons" width="320" devices="!fullscreensupport" />
<!-- scale the buttons 2x for mobile devices (when the mobilescale setting in the html file is below 1.0) -->
<layer name="defaultskin_buttons" scale="2.0" if="device.mobile AND stagescale LT 1.0" />
<!-- events for handling dynamic changes -->
<events name="defaultskin_buttons" keep="true"
onxmlcomplete="update_ctrl_mode(); update_fs_button();"
onresize="adjust_button_sizes();"
onenterfullscreen="update_fs_button();"
onexitfullscreen ="update_fs_button();"
/>
<!-- check if the buttons fit inside the window, and if not, make them smaller so that they will fit -->
<action name="adjust_button_sizes">
if(layer[defaultskin_buttons].pixelwidth GT stagewidth,
div(layer[defaultskin_buttons].scale, stagewidth, layer[defaultskin_buttons].width);
);
</action>
<!-- update the buttons and the cursors according to the current control mode setting -->
<action name="update_ctrl_mode">
if(control.mouse == drag,
<!-- set mouse cursor graphic -->
set(cursors.url, %SWFPATH%/skin/drag-cursors-2.png);
set(cursors.type, drag);
set(cursors.move, 0|0|32|32);
set(cursors.drag, 32|0|32|32);
<!-- set button graphic -->
set(layer[btn_ctrlmode].crop, 720|0|80|80);
set(layer[btn_ctrlmode].onovercrop, 720|80|80|80);
,
<!-- set mouse cursor graphic -->
set(cursors.url, %SWFPATH%/skin/qtvr-cursors.png);
set(cursors.type, 8way);
set(cursors.move, 0|0|16|16);
set(cursors.drag, 16|0|16|16);
set(cursors.arrow_u, 32|0|16|16);
set(cursors.arrow_d, 48|0|16|16);
set(cursors.arrow_l, 64|0|16|16);
set(cursors.arrow_r, 80|0|16|16);
set(cursors.arrow_lu, 96|0|16|16);
set(cursors.arrow_ru, 112|0|16|16);
set(cursors.arrow_rd, 128|0|16|16);
set(cursors.arrow_ld, 144|0|16|16);
<!-- set button graphic -->
set(layer[btn_ctrlmode].crop, 800|0|80|80);
set(layer[btn_ctrlmode].onovercrop, 800|80|80|80);
);
</action>
<!-- update the fullscreen button according to the current state -->
<action name="update_fs_button">
if(fullscreen,
set(layer[btn_fs].crop, 640|0|80|80);
set(layer[btn_fs].onovercrop, 640|80|80|80);
,
set(layer[btn_fs].crop, 560|0|80|80);
set(layer[btn_fs].onovercrop, 560|80|80|80);
);
</action>
<!--
inlined contextmenu.xml
- Change the control mode and the viewing projection via the right click contextmenu.
- The distorted view items will be only shown when Flash or WebGL are supported and when the
pano image itself is a full 360x180 pano.
-->
<contextmenu>
<item name="kr" caption="KRPANO" />
<item name="fs" caption="FULLSCREEN" />
<item name="cc" caption="Change Controlmode" onclick="cm_changecontrolmode();" separator="true" />
<item name="nv" caption="Normal View" onclick="cm_normal_view();" showif="view.vlookatrange == 180" separator="true" />
<item name="fv" caption="Fisheye View" onclick="cm_fisheye_view();" showif="view.vlookatrange == 180" devices="flash|webgl" />
<item name="sv" caption="Stereographic View" onclick="cm_stereographic_view();" showif="view.vlookatrange == 180" devices="flash|webgl" />
<item name="av" caption="Architectural View" onclick="cm_architectural_view();" showif="view.vlookatrange == 180" />
<item name="pv" caption="Pannini View" onclick="cm_pannini_view();" showif="view.vlookatrange == 180" devices="flash|webgl" />
<item name="lp" caption="Little Planet View" onclick="cm_littleplanet_view();" showif="view.vlookatrange == 180" devices="flash|webgl" />
</contextmenu>
<action name="cm_changecontrolmode">
switch(control.mouse, drag, moveto);
switch(control.touch, drag, moveto);
</action>
<action name="cm_look_straight">
if(view.vlookat LT -80 OR view.vlookat GT +80,
tween(view.vlookat, 0.0, 1.0, easeInOutSine);
tween(view.fov, 100, distance(150,0.8));
);
</action>
<action name="cm_normal_view">
cm_look_straight();
tween(view.architectural, 0.0, distance(1.0,0.5));
tween(view.pannini, 0.0, distance(1.0,0.5));
tween(view.fisheye, 0.0, distance(1.0,0.5));
</action>
<action name="cm_architectural_view">
cm_look_straight();
tween(view.architectural, 1.0, distance(1.0,0.5));
tween(view.pannini, 0.0, distance(1.0,0.5));
tween(view.fisheye, 0.0, distance(1.0,0.5));
</action>
<action name="cm_fisheye_view">
cm_look_straight();
tween(view.architectural, 0.0, distance(1.0,0.5));
tween(view.pannini, 0.0, distance(1.0,0.5));
tween(view.fisheye, 0.35, distance(1.0,0.5));
</action>
<action name="cm_stereographic_view">
cm_look_straight();
tween(view.architectural, 0.0, distance(1.0,0.5));
tween(view.pannini, 0.0, distance(1.0,0.5));
tween(view.fisheye, 1.0, distance(1.0,0.8));
</action>
<action name="cm_pannini_view">
cm_look_straight();
tween(view.architectural, 0.0, distance(1.0,0.5));
tween(view.pannini, 1.0, distance(1.0,0.8));
if(view.fisheye LT 0.1,
tween(view.fisheye, 1.0, distance(1.0,0.8));
);
</action>
<action name="cm_littleplanet_view">
tween(view.architectural, 0.0, distance(1.0,0.5));
tween(view.pannini, 0.0, distance(1.0,0.5));
tween(view.fisheye, 1.0, distance(1.0,0.8));
tween(view.fov, 150, distance(150,0.8));
tween(view.vlookat, 90, distance(100,0.8));
add(new_hlookat, view.hlookat, 123.0);
tween(view.hlookat, get(new_hlookat), distance(100,0.8));
</action>
</krpano>
<krpano>
<!-- Version 1.17 Design -->
<skin_settings layout_width="100%"
layout_maxwidth=""
controlbar_width="100%"
controlbar_height.normal="40"
controlbar_height.mobile="38"
controlbar_offset.normal="20"
controlbar_offset.mobile="0"
controlbar_offset_closed="-2"
controlbar_overlap="0"
design_skin_images="vtourskin.png"
design_bgcolor="0x000000"
design_bgalpha="0.5"
design_bgborder="1,0 0xFFFFFF 1"
design_bgroundedge.no-ios="0"
design_bgroundedge.ios="1"
design_bgshadow="0 0 20 0x000000 1.0"
design_thumbborder_bgborder="4 0xFFFFFF 1.0"
design_thumbborder_padding="2"
design_thumbborder_bgroundedge="3"
design_text_css="color:#FFFFFF; font-family:Arial; font-weight:bold;"
design_text_shadow="1"
/>
</krpano>
<krpano>
<!-- Version 1.17 Round Design -->
<skin_settings layout_width="100%"
layout_maxwidth.normal="900"
layout_maxwidth.mobile=""
controlbar_width.normal="-44"
controlbar_width.mobile="100%"
controlbar_height.normal="38"
controlbar_height.mobile="34"
controlbar_offset.normal="22"
controlbar_offset.mobile="0"
controlbar_offset_closed="-40"
controlbar_overlap.normal="7"
controlbar_overlap.mobile="2"
design_skin_images="vtourskin.png"
design_bgcolor="0x000000"
design_bgalpha="0.5"
design_bgborder="0 0xFFFFFF 1.0"
design_bgroundedge.normal="9"
design_bgroundedge.mobile="1"
design_bgshadow="0 0 9 0xFFFFFF 0.5"
design_thumbborder_bgborder="4 0xFFFFFF 1.0"
design_thumbborder_padding="2"
design_thumbborder_bgroundedge="5"
design_text_css="color:#FFFFFF; font-family:Arial; font-weight:bold;"
design_text_shadow="1"
/>
</krpano>
<krpano>
<!-- Flat Light Design -->
<!-- modify the <skin_settings> values -->
<skin_settings layout_width="100%"
layout_maxwidth="100%"
controlbar_width="100%"
controlbar_height="40"
controlbar_offset.normal="0"
controlbar_offset.mobile="0"
controlbar_offset_closed="-40"
controlbar_overlap.no-fractionalscaling="0"
controlbar_overlap.fractionalscaling="0"
design_skin_images="vtourskin.png"
design_bgcolor="0x000000"
design_bgalpha="1.0"
design_bgborder="0"
design_bgroundedge="0"
design_bgshadow="0 4 10 0xFFFFFF 0.3"
design_thumbborder_bgborder="3 0xB2B2B2 1.0"
design_thumbborder_padding="2"
design_thumbborder_bgroundedge="0"
design_text_css="color:#FFFFFF; font-family:Arial;"
design_text_shadow="0"
/>
<!-- adjust the design of some skin elements -->
<layer name="skin_layer">
<layer name="skin_loadingtext" width="100%" css="calc:skin_settings.design_text_css + ' text-align:center; font-size:20px;'" padding="4 6" textshadow="calc:2.0" textshadowrange="1.0" textshadowangle="90" textshadowcolor="0x2D3E50" textshadowalpha="1.0" />
<layer name="skin_control_bar" alpha="0.7" />
</layer>
<!-- use a fullscreen map -->
<action name="skin_showmap">
if(%1 == null, if(layer[skin_map].state == 'closed', set(show,true), set(show,false)); , set(show,%1); );
mul(mh, layer[skin_scroll_layer].pixelheight, -1);
if(show,
tween(layer[skin_thumbs_container].alpha, 0.0, 0.25, default, set(layer[skin_thumbs_container].visible,false));
set(layer[skin_map].visible, true);
tween(layer[skin_map].alpha, 1.0, 0.25);
set(layer[skin_map].state, 'opened');
sub(hh,area.pixelheight,skin_settings.controlbar_offset);
sub(hh,layer[skin_control_bar].height);
sub(hh,0);
add(mh,hh);
sub(hh,skin_settings.controlbar_overlap);
copy(layer[skin_map].height, hh);
tween(layer[skin_scroll_layer].y, get(mh), 0.5, easeOutQuint);
,
if(layer[skin_map].state != 'closed',
set(layer[skin_map].state, 'closed');
add(mh, layer[skin_scroll_layer].y_offset);
tween(layer[skin_map].alpha, 0.0, 0.5, easeOutQuint);
tween(layer[skin_scroll_layer].y, get(mh), 0.5, easeOutQuint, set(layer[skin_map].visible,false) );
);
);
</action>
<!-- webvr button style (adjust to match skin style) -->
<style name="webvr_button_style"
border="false"
roundedge="calc:1.0"
backgroundcolor="get:skin_settings.design_bgcolor" backgroundalpha="get:skin_settings.design_bgalpha"
shadow="0.01" shadowrange="10.0" shadowangle="90.0" shadowcolor="0x30261B" shadowalpha="0.50"
css="calc:skin_settings.design_text_css + ' font-size:' + 20*webvr_setup_scale*webvr_button_scale + 'px;'"
/>
</krpano>
<krpano>
<!-- Flat Light Design -->
<!-- modify the <skin_settings> values -->
<skin_settings layout_width="100%"
layout_maxwidth="814"
controlbar_width="-24"
controlbar_height="40"
controlbar_offset.normal="20"
controlbar_offset.mobile="20"
controlbar_offset_closed="-40"
controlbar_overlap.no-fractionalscaling="10"
controlbar_overlap.fractionalscaling="0"
design_skin_images="vtourskin_light.png"
design_bgcolor="0x2D3E50"
design_bgalpha="0.8"
design_bgborder="0"
design_bgroundedge="1"
design_bgshadow="0 4 10 0x000000 0.3"
design_thumbborder_bgborder="2 0xFFFFFF 0.8"
design_thumbborder_padding="2"
design_thumbborder_bgroundedge="0"
design_text_css="color:#FFFFFF; font-family:Arial; font-weight:lighter;"
design_text_shadow="1"
/>
<!-- adjust the design of some skin elements -->
<layer name="skin_layer">
<layer name="skin_loadingtext" width="100%" css="calc:skin_settings.design_text_css + ' text-align:center; font-size:20px;'" padding="4 6" textshadow="calc:2.0" textshadowrange="1.0" textshadowangle="90" textshadowcolor="0x2D3E50" textshadowalpha="1.0" />
</layer>
<!-- webvr button style (adjust to match skin style) -->
<style name="webvr_button_style"
border="false"
roundedge="calc:1.0"
backgroundcolor="get:skin_settings.design_bgcolor" backgroundalpha="get:skin_settings.design_bgalpha"
shadow="0.01" shadowrange="10.0" shadowangle="90.0" shadowcolor="0x30261B" shadowalpha="0.50"
css="calc:skin_settings.design_text_css + ' font-size:' + 20*webvr_setup_scale*webvr_button_scale + 'px;'"
/>
</krpano>
<krpano>
<!-- Glass Design -->
<!-- modify the <skin_settings> values -->
<skin_settings thumbs_scrollindicator="true"
layout_width="100%"
layout_maxwidth="680"
xcontrolbar_width="-44"
controlbar_width="-20"
controlbar_height="36"
controlbar_offset.normal="40"
controlbar_offset.mobile="12"
controlbar_offset_closed="-40"
controlbar_overlap="10"
design_skin_images="vtourskin.png"
design_bgcolor="0xFFFFFF"
design_bgalpha="0.25"
design_bgborder="2 0xFFFFFF 0.1"
design_bgroundedge="13"
design_bgshadow="0"
design_thumbborder_bgborder="3 0xFFFFFF 1.0"
design_thumbborder_padding="2"
design_thumbborder_bgroundedge="5"
design_text_css="color:#FFFFFF; font-family:Arial; font-weight:bold;"
design_text_shadow="0"
/>
<!-- webvr button style (adjust to match default skin style) -->
<style name="webvr_button_style"
border="true" borderwidth="2" bordercolor="0xFFFFFF" borderalpha="0.25"
backgroundcolor="get:skin_settings.design_bgcolor" backgroundalpha="get:skin_settings.design_bgalpha"
shadow="0"
css="calc:skin_settings.design_text_css + ' color:#FFFFFF; font-weight:normal; font-size:' + 20*webvr_setup_scale*webvr_button_scale + 'px;'"
/>
<!-- contextmenu style (adjust to match skin style) -->
<contextmenu customstyle="default|default|default|0x77AAAAAA|0xFFFFFF|0xBBBBBB|2|0x7FFFFFFF|13|0|0|0|0xFFFFFF|0|0|4|6|7|0xAAFFFFFF|none|3|0|0|0|3|0xAAFFFFFF|0xAAFFFFFF|0xFFFFFF|12|8" />
</krpano>
<krpano>
<!-- Ultra Light Design -->
<!-- modify the <skin_settings> values -->
<skin_settings title="false"
layout_width="100%"
layout_maxwidth="814"
controlbar_width="-24"
controlbar_height="40"
controlbar_offset.normal="30"
controlbar_offset.mobile="20"
controlbar_offset_closed="-40"
controlbar_overlap="0"
design_skin_images="vtourskin_light.png"
design_bgcolor="0x2D3E50"
design_bgalpha="0.0"
design_bgborder="0,0,1,0 0xFFFFFF 1"
design_bgroundedge="0"
design_bgshadow="0"
design_thumbborder_bgborder="1 0xFFFFFF 0.8"
design_thumbborder_padding="0"
design_thumbborder_bgroundedge="0"
design_text_css="color:#FFFFFF; font-family:Arial; font-weight:lighter;"
design_text_shadow="0"
/>
<!-- webvr button style (adjust to match skin style) -->
<style name="webvr_button_style"
border="false"
roundedge="calc:1.0"
backgroundcolor="get:skin_settings.design_bgcolor" backgroundalpha="get:skin_settings.design_bgalpha"
shadow="0.01" shadowrange="10.0" shadowangle="90.0" shadowcolor="0x30261B" shadowalpha="0.50"
css="calc:skin_settings.design_text_css + ' font-size:' + 20*webvr_setup_scale*webvr_button_scale + 'px;'"
/>
<!-- adjust video controls to match skin style -->
<layer name="skin_layer">
<layer name="skin_scroll_window">
<layer name="skin_scroll_layer">
<layer name="skin_video_controls">
<layer name="skin_video_seekbar_container">
<layer name="skin_video_seekbar" height="1" y="4">
<layer name="skin_video_loadbar" height="1" />
<layer name="skin_video_seekpos" bgroundedge="2" width="6" height="6" />
</layer>
</layer>
<layer name="skin_video_time" y="-4" />
</layer>
</layer>
</layer>
</layer>
<!-- contextmenu style (adjust to match skin style) -->
<contextmenu customstyle="default|default|default|0x7F000000|0xFFFFFF|0xBBBBBB|0|0x20FFFFFF|1|0|0|0|0xFFFFFF|0|0xFFFFFF|4|6|7|0xAAFFFFFF|none|3|0|0|0|3|0xFFFFFF|0xFFFFFF|0x000000|12|8" />
</krpano>
...@@ -15,14 +15,67 @@ ...@@ -15,14 +15,67 @@
</style> </style>
</head> </head>
<body> <body>
<script src="pano.js"></script>
<script src="tour.js"></script>
<div id="pano" style="width:100%;height:100%;"> <div id="pano" style="width:100%;height:100%;">
<noscript><table style="width:100%;height:100%;"><tr style="vertical-align:middle;"><td><div style="text-align:center;">ERROR:<br/><br/>Javascript not activated<br/><br/></div></td></tr></table></noscript>
<script>
embedpano({swf:"tour.swf", xml:"tour.xml", target:"pano", html5:"auto", mobilescale:1.0, passQueryParameters:true,onready : krpano_onready_callback});
function krpano_onready_callback(krpano_interface)
{
krpano = krpano_interface;
setTimeout(()=>{
add_hotspot('完善的设施',128.862,4.478)
add_hotspot('宜人的气候','-144.129',-5)
},1000)
// setTimeout(()=>{
//
//
// },3000)
}
function add_hotspot(hs_name,ath,atv)
{
if (krpano) {
var h = ath//krpano.get("view.hlookat");
var v = atv//krpano.get("view.vlookat");
//var hs_name = //"hs" + ((Date.now() + Math.random()) | 0); // create unique/randome name
console.log(hs_name,h,v)
krpano.call("addhotspot(" + hs_name + ")");
krpano.set("hotspot["+hs_name+"].url", "/images/pano/diy_hotspot.png");
krpano.set("hotspot["+hs_name+"].ath", h);
krpano.set("hotspot["+hs_name+"].atv", v);
// krpano.set("hotspot["+hs_name+"].zorder", '42');
krpano.set("hotspot["+hs_name+"].distorted", true);
if ( krpano.get("device.html5") ) {
// for HTML5 it's possible to assign JS functions directly to krpano events
krpano.set("hotspot["+hs_name+"].onclick", function(hs) {
console.log('hotspot "' + hs + '" clicked');
if(hs==='完善的设施'){
location.href='/show.html'
}
if(hs==='宜人的气候'){
location.href='/show.html'
}
}.bind(null, hs_name));
}
else {
// for Flash the js() action need to be used to call from Flash to JS (this code would work for Flash and HTML5)
krpano.set("hotspot["+hs_name+"].onclick", "js( alert(calc('hotspot \"' + name + '\" clicked')) );");
}
}
}
window.func = function(){
console.log(3333333333)
}
</script>
</div> </div>
<noscript><table style="width:100%;height:100%;"><tr style="vertical-align:middle;"><td><div style="text-align:center;">ERROR:<br/><br/>Javascript not activated<br/><br/></div></td></tr></table></noscript>
<script>
embedpano({swf:"pano.swf", xml:"pano.xml", target:"pano", html5:"auto", mobilescale:1.0, passQueryParameters:true});
</script>
</body> </body>
</html> </html>
This source diff could not be displayed because it is too large. You can view the blob instead.
<krpano version="1.19" title="Virtual Tour">
<include url="skin/vtourskin.xml" />
<!-- customize skin settings: maps, gyro, webvr, thumbnails, tooltips, layout, design, ... -->
<skin_settings maps="false"
maps_type="google"
maps_bing_api_key=""
maps_google_api_key=""
maps_zoombuttons="false"
gyro="true"
webvr="true"
webvr_gyro_keeplookingdirection="false"
webvr_prev_next_hotspots="true"
littleplanetintro="true"
title="true"
thumbs="true"
thumbs_width="120" thumbs_height="80" thumbs_padding="10" thumbs_crop="0|40|240|160"
thumbs_opened="false"
thumbs_text="false"
thumbs_dragging="true"
thumbs_onhoverscrolling="false"
thumbs_scrollbuttons="false"
thumbs_scrollindicator="false"
thumbs_loop="false"
tooltips_buttons="false"
tooltips_thumbs="false"
tooltips_hotspots="false"
tooltips_mapspots="false"
deeplinking="false"
loadscene_flags="MERGE"
loadscene_blend="OPENBLEND(0.5, 0.0, 0.75, 0.05, linear)"
loadscene_blend_prev="SLIDEBLEND(0.5, 180, 0.75, linear)"
loadscene_blend_next="SLIDEBLEND(0.5, 0, 0.75, linear)"
loadingtext="loading..."
layout_width="100%"
layout_maxwidth="814"
controlbar_width="-24"
controlbar_height="40"
controlbar_offset="20"
controlbar_offset_closed="-40"
controlbar_overlap.no-fractionalscaling="10"
controlbar_overlap.fractionalscaling="0"
design_skin_images="vtourskin.png"
design_bgcolor="0x2D3E50"
design_bgalpha="0.8"
design_bgborder="0"
design_bgroundedge="1"
design_bgshadow="0 4 10 0x000000 0.3"
design_thumbborder_bgborder="3 0xFFFFFF 1.0"
design_thumbborder_padding="2"
design_thumbborder_bgroundedge="0"
design_text_css="color:#FFFFFF; font-family:Arial;"
design_text_shadow="1"
/>
<!--
For an alternative skin design either change the <skin_settings> values
from above or optionally include one of the predefined designs from below.
-->
<!-- <include url="skin/vtourskin_design_flat_light.xml" /> -->
<!-- <include url="skin/vtourskin_design_glass.xml" /> -->
<!-- <include url="skin/vtourskin_design_ultra_light.xml" /> -->
<!-- <include url="skin/vtourskin_design_117.xml" /> -->
<!-- <include url="skin/vtourskin_design_117round.xml" /> -->
<!-- <include url="skin/vtourskin_design_black.xml" /> -->
<!-- startup action - load the first scene -->
<action name="startup" autorun="onstart">
if(startscene === null OR !scene[get(startscene)], copy(startscene,scene[0].name); );
loadscene(get(startscene), null, MERGE);
if(startactions !== null, startactions() );
</action>
<scene name="scene_vr" title="vr" onstart="" thumburl="panos/vr.tiles/thumb.jpg" lat="26.20434422" lng="107.80451219" heading="0.0">
<view hlookat="0.0" vlookat="0.0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/vr.tiles/preview.jpg" />
<image prealign="0|0.0|0">
<cube url="panos/vr.tiles/pano_%s.jpg" />
</image>
<layer name="mask"
type="container"
keep="true"
parent=""
visible="true"
enabled="true"
handcursor="true"
maskchildren="false"
scalechildren="false"
zorder="1"
style=""
align=""
edge=""
x=""
y=""
rotate="0.0"
width="100%"
height="100%"
scale="1.0"
alpha="1.0"
crop=""
onovercrop=""
ondowncrop=""
bgcolor="0x000000"
bgalpha="0.2"
bgborder="0"
bgroundedge="0"
bgshadow=""
bgcapture="false"
onover.addevent=""
onhover.addevent=""
onout.addevent=""
onclick.addevent=""
ondown.addevent=""
onup.addevent=""
onloaded.addevent=""
/>
<hotspot name="mytext"
type="text"
ath="-144.129" atv="-8" edge="center"
distorted="true"
renderer="webgl"
html="宜人的气候"
css="font-family:Arial; font-size:16px; color:#FFFFFF;"
vcenter="false"
padding="8"
zorder="3"
wordwrap="true"
bg="true"
bgcolor="0xFFFFFF"
bgalpha="0.2"
bgborder="0"
bgroundedge="6"
bgshadow=""
txtshadow=""
mergedalpha="true"
oversampling="1.0"
mipmapping="false"
onautosized=""
/>
<hotspot name="mytext2"
type="text"
ath="128.862" atv="0" edge="center"
distorted="true"
zorder="3"
renderer="webgl"
html="完善的设施"
css="font-family:Arial; font-size:16px; color:#FFFFFF;"
vcenter="false"
padding="8"
wordwrap="true"
bg="true"
bgcolor="0xFFFFFF"
bgalpha="0.2"
bgborder="0"
bgroundedge="6"
bgshadow=""
txtshadow=""
mergedalpha="true"
oversampling="1.0"
mipmapping="false"
onautosized=""
onclick="func()"
/>
</scene>
</krpano>
<!DOCTYPE html>
<html>
<head>
<title>krpano - MAKE VTOUR - Virtual Tour Editor</title>
<meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, minimal-ui" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<style>
@-ms-viewport { width: device-width; }
@media only screen and (min-device-width: 800px) { html { overflow:hidden; } }
html { height:100%; }
body { height:100%; overflow: hidden; margin:0; padding:0; font-family:Arial, Helvetica, sans-serif; font-size:16px; color:#FFFFFF; background-color:#000000; }
a{ color:#AAAAAA; text-decoration:underline; }
a:hover{ color:#FFFFFF; text-decoration:underline; }
</style>
</head>
<body>
<script src="tour.js"></script>
<div id="title" style="width:100%; height:20px; padding:5px; font-size:16px;"><b>krpano - MAKE VTOUR - Virtual Tour Editor</b> <span style="font-size:10px; font-style:italic; color:#777777;">// 1. set the startup views / 2. add hotspots / 3. edit the titles / 4. save and overwrite the original tour.xml</span></div>
<div id="pano" style="width:100%; height:95%;">
<noscript><table style="width:100%;height:100%;"><tr style="vertical-align:middle;"><td><div style="text-align:center;">ERROR:<br/><br/>Javascript not activated<br/><br/></div></td></tr></table></noscript>
<script>
var vars = {};
vars["plugin[vtoureditor].url"] = "plugins/vtoureditor.swf";
vars["plugin[vtoureditor].keep"] = true;
embedpano({swf:"tour.swf", xml:"tour.xml", target:"pano", flash:"only", passQueryParameters:false, vars:vars});
function resize()
{
var th = document.getElementById("title").clientHeight;
var ph = (typeof(window.innerHeight) == 'number') ? window.innerHeight : ((document.documentElement && document.documentElement.clientHeight) ? document.documentElement.clientHeight : ((document.body && document.body.clientHeight) ? document.body.clientHeight : 500));
document.getElementById("pano").style.height = (ph-th)+"px"
}
window.onresize = resize;
resize();
</script>
</div>
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment