📄 demo.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>全景图浏览</title>
<script language="javascript">
function test()
{
|
</script>
</head>
<body>
<div style="width:382px; height:661px;">
<applet name="ptviewer" archive="ptviewer.jar" code="ptviewer.class" mayscript="true" width="382" height="661">
<param name="file" value="ptviewer:0" />
<param name="frame" value="frame.gif" />
<param name="view_width" value="370" />
<param name="view_height" value="270" />
<param name="view_x" value="5" />
<param name="view_y" value="5" />
<PARAM name="bar_x" value="115">
<PARAM name="bar_y" value="169">
<PARAM name="bar_width" value="193">
<PARAM name="bar_height" value="20">
<PARAM name="applet0" value="{code= ptcompass.class}
{compass_map=img/compass.gif}
{compass_x=55}
{compass_y=363}
{compass_pan=-45}">
<PARAM name="pano0" value=" {file=img/qiao.jpg}
{pan=-45}
{tilt=0}
{fov=70}
{fovmax=120}
{fovmin=30}
{auto=0.1}
{autoNumTurns=1.0}
{inits=ptviewer:startApplet(0)}"/>
<PARAM name="applet1" value="{code= ptcompass.class}
{compass_map=img/compass.gif}
{compass_x=172}
{compass_y=430}
{compass_pan=-45}">
<PARAM name="pano1" value=" {file=img/water.jpg}
{pan=-45}
{tilt=0}
{fov=70}
{fovmax=120}
{fovmin=30}
{auto=0.1}
{autoNumTurns=1.0}
{inits=ptviewer:startApplet(1)}" />
<PARAM name="applet2" value="{code= ptcompass.class}
{compass_map=img/compass.gif}
{compass_x=65}
{compass_y=554}
{compass_pan=-45}">
<PARAM name="pano2" value=" {file=img/qiao.jpg}
{pan=-45}
{tilt=0}
{fov=70}
{fovmax=120}
{fovmin=30}
{auto=0.1}
{autoNumTurns=1.0}
{inits=ptviewer:startApplet(2)}" />
<PARAM name="shotspot0" value=" x22 y278 a56 b298 u'ptviewer:startAutoPan(0.1,0,1)' " />
<PARAM name="shotspot1" value=" x60 y278 a94 b298 u'ptviewer:stopAutoPan()' " />
<PARAM name="shotspot2" value=" x110 y278 a144 b298 u'ptviewer:startAutoPan(-0.09,0,1)' " />
<PARAM name="shotspot3" value=" x146 y278 a182 b298 u'ptviewer:startAutoPan(0.09,0,1)' " />
<PARAM name="shotspot4" value=" x196 y278 a230 b298 u'ptviewer:startAutoPan(0,0.09,1)' " />
<PARAM name="shotspot5" value=" x236 y278 a269 b298 u'ptviewer:startAutoPan(0,-0.09,1)' " />
<PARAM name="shotspot6" value=" x282 y278 a316 b298 u'ptviewer:startAutoPan(0,0,0.999)' " />
<PARAM name="shotspot7" value=" x321 y278 a353 b298 u'ptviewer:startAutoPan(0,0,1.001)' " />
<PARAM name="shotspot8" value=" x67 y376 a81 b389 u'ptviewer:newPanoFromList(0)' " />
<PARAM name="shotspot9" value=" x184 y442 a199 b457 u'ptviewer:newPanoFromList(1)' " />
<PARAM name="shotspot10" value=" x76 y565 a93 b578 u'ptviewer:newPanoFromList(2)' " />
</applet>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -