时间:2017-10-11
分类:
热度:
2241
1。 改表法。
可能是你的帐号不允许从远程登陆,只能在localhost。这个时候只要在localhost的那台电脑,登入mysql后,更改 "mysql" 数据库里的 "user" 表里的 "host" 项,从"localhost"改称"%"
mysql -u root -pvmwaremysql>use mysql;
mysql>update user set host = '%' where user = 'root';
mysql>select host, user from user;
2. 授权法。
...阅读全文>>
复制下面代码保存到skin里面为nadir-logo.xml
<krpano>
<!-- startup viewing direction and angle -->
<view hlookat="0" vlookat="55" fov="110" />
<!-- pano image -->
<preview url="preview.jpg" />
<!-- nadir logo (a distorted hotspot) -->
<hotspot na...阅读全文>>
1.scene外添加
<autorotate enabled="true"
waittime="5.0"
speed="-3.0"
horizon="0.0"
tofov="120.0"
/>
2.在startup添加
<action name="startup">
if(startscene === null, copy(startscene,scene[0].name));
loadscene(get(startscene), null, MERGE);
</action>
3.添加方...阅读全文>>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<script src="angular.min.js"></script>
</head>
<body ng-app="myapp" >
<div id="box" >
<input type="text" ng-model...阅读全文>>
function fullScreen(el) {
var rfs = el.requestFullScreen || el.webkitRequestFullScreen || el.mozRequestFullScreen || el.msRequestFullScreen,
wscript;
if(typeof rfs != "undefined" && rfs) {
rfs.call(el);
return;
}
if(typeo...阅读全文>>
<krpano>
<!-- krpano 1.19.pr9 - Virtual Tour Skin -->
<!-- skin settings (can be overridden in the tour.xml) -->
<skin_settings maps="false"
maps_type="google"
maps_bing_api_key=""
maps_google_api_key=""
...阅读全文>>
搜索并设为set(layer[skin_layer].visible, false);
两个箭头隐藏改为
<!-- previous/next scene buttons for the hidden skin mode -->
<layer name="skin_btn_prev_fs" keep="true" type="container" visible="false" align="lefttop" x="-50" width="40" height="100%" bgcapture="true" alpha="0.25" ...阅读全文>>
复制plugins的snow插件,将snow的xml放到同级:
snow.xml:
<krpano>
<!-- the snow plugin -->
<plugin name="snow" zorder="1"
url="%SWFPATH%/plugins/snow.swf"
alturl="%SWFPATH%/plugins/snow.js"
floor="0.7"
/>
<action name="defaultsno...阅读全文>>
<action name="nextscene">
add(newsceneindex, scene[get(xml.scene)].index, 1);
if(newsceneindex LT scene.count, loadscene...阅读全文>>
拖拽热点:
<action name="draghotspot">
spheretoscreen(ath, atv, hotspotcenterx, hotspotcentery, 'l');
sub(drag_adjustx, mouse.stagex, hotspotcenterx);
sub(drag_adjusty, mouse.stagey, hotspotcentery);
asyncloop(pressed,
sub(dx, mouse.stagex, drag_adjustx);
sub(dy, mouse.stage...阅读全文>>