Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
<plugin name="logo"
url="../pano_folder/logo.jpg"
align="leftbottom"
handcursor="true"
name="MärkischerPlastz"
onhover="showtext(Märkischer Platz, Tooltip); set(alpha,1.0);"
onout="set(alpha,0.4);"
width="102"
height="76"
alpha="0.4"
x="80"
y="80"
onclick="action(bild1,view);"
/>
|
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 |
<action name="bild1">
<view hlookat ="0.089006"
vlookat ="0.025460"
camroll ="0.000000"
fovtype ="HFOV"
fov ="0.099928"
fovmin ="0.099928"
fovmax ="179.000000"
maxpixelzoom ="1.000000"
/>
</action>
|
|
|
Source code |
1 |
<include url="../xml/events.xml" keep="true"/> |
This post has been edited 3 times, last edit by "CMFA" (Mar 1st 2012, 2:35pm)
|
|
Source code |
1 2 |
<action name="bild1"> tween(plugin[logo].scale, 1);tween(plugin[logo].x, 200);...</action> |
|
|
Source code |
1 2 3 4 5 |
<action name="bild1"> tween(view.hlookat, 0.089006); tween(view.vlookat, 0.025460); tween(view.fov,0.099928); </action> |
|
|
Source code |
1 2 |
zoomto(1.0,smooth(3,3,10)); lookto(get(spucker.hlookat), get(spucker.vlookat), get(spucker.fov), smooth(3,3, 10)); |
|
|
Source code |
1 |
onhover="showtext(Schleusenspucker, Tooltip); |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
<krpano version="1.0.8">
<!-- flatskin template -->
<!-- events - fullscreen button change, set cursor on start -->
<events onxmlcomplete="bildbar();"
/>
<!-- view settings-->
<view hlookat="0" vlookat="0" fovtype="MFOV" fov="90" fovmin="60" fovmax="120" />
<!-- the button bar -->
<plugin name="bildbar"
url="bildleiste.png"
handcursor="false"
align="leftbottom"
x="10"
y="10"
scalechildren="true"
scale="0.4"
onover="tween(scale,1);"
onout="tween(scale,0.4);"
/>
<!-- button showtext() style -->
<textstyle name="bildstyle" font="Arial" fontsize="12" bold="true" italic="true"
textcolor="0x000000" background="false" border="false"
blendmode="layer" effect="glow(0xFFFFFF,0.85,4,4);dropshadow(2,45,0x000000,4,1);"
origin="cursor" edge="bottom" xoffset="15" yoffset="-5" showtime="0.1" fadeintime="0.1" fadetime="0.1"
/>
<style name="buttonbild" parent="bildbar" align="leftop" y="5" url="bildleiste.png" />
<plugin name="maerkisch" align="leftbottom" x="10" y="0" style="buttonbild" crop="10|0|80|60" onhover="showtext(Märkischer Platz, bildstyle);" onclick="bild1()"/>
<plugin name="spucker" align="leftbottom" x="85" y="0" style="buttonbild" crop="85|0|80|60" onhover="showtext(Schleusenspucker, bildstyle);" onclick="bild2()" />
<plugin name="bismark" align="leftbottom" x="170" y="0" style="buttonbild" crop="170|0|44|60" onhover="showtext(Bismarkturm, bildstyle);" onclick="bild3()" />
<plugin name="stadt" align="leftbottom" x="220" y="0" style="buttonbild" crop="220|0|44|60" onhover="showtext(Stadtverwaltung, bildstyle);" onclick="bild2()" />
</krpano>
|
Quoted
parent="hotspot1"
html="[p]hotspot text[/p]"
This post has been edited 1 times, last edit by "CMFA" (Mar 5th 2012, 4:16pm)