随笔 - 覆手为雨 随笔 - 覆手为雨

随笔

随笔

Krpano制作全景视频

lininn 发布于 10-19

<scenename="videopano"title="krpanoPanoramicVideoExample"><!--includethevideoplayerinterface/skin(withVRsupport)--><includeurl="skin/videointerface.xml"/>&l...

阅读(1015) 评论(0 )

随笔

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...

阅读(822) 评论(0 )

随笔

Krpano制作补天补地logo

lininn 发布于 10-10

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

阅读(1882) 评论(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...

阅读(1407) 评论(0 )

随笔

js实现全屏

lininn 发布于 9-26

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

阅读(846) 评论(0 )

随笔

krpano修改默认按钮

lininn 发布于 9-21

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

阅读(1285) 评论(0 )

随笔

krpano隐藏导航条

lininn 发布于 9-21

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

阅读(2040) 评论(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....

阅读(856) 评论(0 )