覆手为雨 覆手为雨

所有文章

随笔

php连接数据库?

lininn 发布于 10-11

<?php$link=mysqli_connect('localhost','root','root','lininn');mysqli_set_charset($link,"utf8");if(!$link){printf("Can'tconnecttoMySQLServer.Errorcode:%s",mysqli_connect_er...

阅读(779) 评论(0 )

暂无分类

解决数据库无法远程访问

lininn 发布于 10-11

1。改表法。可能是你的帐号不允许从远程登陆,只能在localhost。这个时候只要在localhost的那台电脑,登入mysql后,更改"mysql"数据库里的"user"表里的"host"项,从"localhost"改称"%"mysql-uroot-pvmwaremysql>usemysql;mysql>updateuserseth...

阅读(786) 评论(0 )

随笔

Krpano制作补天补地logo

lininn 发布于 10-10

复制下面代码保存到skin里面为nadir-logo.xml<krpano><!--startupviewingdirectionandangle--><viewhlookat="0"vlookat="55"fov="110"/><!--panoimage--><previewurl="pre...

阅读(1770) 评论(0 )

随笔

Krpano添加自动旋转

lininn 发布于 10-10

1.scene外添加<autorotateenabled="true"waittime="5.0"speed="-3.0"horizon="0.0"tofov="120.0"/>2.在startup添加<actionname="startup">if(startscene===null,copy(startscene,sc...

阅读(1332) 评论(0 )

angular

angular 1.x directive

lininn 发布于 9-26

<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><title>Document</title><scriptsrc="angular.min.js"></script></head&...

阅读(727) 评论(0 )

随笔

js实现全屏

lininn 发布于 9-26

functionfullScreen(el){varrfs=el.requestFullScreen||el.webkitRequestFullScreen||el.mozRequestFullScreen||el.msRequestFullScreen,wscript;if(typeofrfs!="undefined"&&rfs...

阅读(809) 评论(0 )

随笔

krpano修改默认按钮

lininn 发布于 9-21

<krpano><!--krpano1.19.pr9-VirtualTourSkin--><!--skinsettings(canbeoverriddeninthetour.xml)--><skin_settingsmaps="false"maps_type="google"maps_bing_api_k...

阅读(1147) 评论(0 )

随笔

krpano隐藏导航条

lininn 发布于 9-21

搜索并设为set(layer[skin_layer].visible,false);两个箭头隐藏改为<!--previous/nextscenebuttonsforthehiddenskinmode--><layername="skin_btn_prev_fs"keep="true"type="container"visible...

阅读(1825) 评论(0 )

随笔

krpano制作snow

lininn 发布于 9-21

复制plugins的snow插件,将snow的xml放到同级:snow.xml:<krpano><!--thesnowplugin--><pluginname="snow"zorder="1"url="%SWFPATH%/plugins/snow.swf"alturl="%SWFPATH%/plugins/snow....

阅读(809) 评论(0 )