Dieser Beitrag wurde bereits 4 mal editiert, zuletzt von »AlexanderSh« (7. November 2009, 11:06)
|
|
Quellcode |
1 2 |
<plugin name="open-help" keep="true" align="righttop" alpha="0.7" x="10" y="0" url="help-open.png" onclick="action(show_html_field);" visible="true" /> <plugin name="close-help" keep="true" align="righttop" alpha="0.7" x="10" y="0" url="help-close.png" onclick="action(hidewindow,htmltext);" visible="false" /> |
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 |
<plugin name="open-help" url="help-open.png" visible="true" keep="true" align="righttop" alpha="0.7" x="10" y="0" onclick="action(show_html_field); set(plugin[open-help].visible,false); set(plugin[close-help].visible,true);"/> <plugin name="close-help" url="help-close.png" visible="false" keep="true" align="righttop" alpha="0.7" x="10" y="0" onclick="action(hidewindow,htmltext); set(plugin[close-help].visible,false); set(plugin[open-help].visible,true);" /> |
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<plugin name="map1"
url="1stfloor.png" zorder="1" align="righttop" edge="righttop" x="10" y="25" alpha="0.85"
handcursor="false"
width="300" height="112"
onclick="action(closemap1);"
/>
<plugin name="map2"
url="2ndfloor.png" zorder="1" align="righttop" edge="righttop" x="10" y="25" alpha="0.85"
handcursor="false"
width="300" height="112"
onclick="action(closemap2);"
/>
|
|
|
Quellcode |
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 |
<events onloadcomplete="set(plugin[map1].visible,true);" />
<plugin name="map1" url="1stfloor.png"
visible="false" zorder="1" keep="true"
align="righttop" edge="righttop" x="10" y="25" alpha="0.85"
handcursor="false"
width="300" height="112"
onclick="action(closemap1);"
/>
<plugin name="map2" url="2ndfloor.png"
visible="false" zorder="1" keep="true"
align="righttop" edge="righttop" x="10" y="25" alpha="0.85"
handcursor="false"
width="300" height="112"
onclick="action(closemap2);"
/>
<!-- a button to open map2 -->
<plugin name="open-map2" url="map2-open.png"
visible="true" keep="true"
align="bottom" edge="bottom" alpha="0.7" x="0" y="25"
onclick="set(plugin[map1].visible,false);
set(plugin[map2].visible,true); "
/>
|
|
|
Quellcode |
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 |
<krpano version="1.0.8"
onstart="action(closemap2); action(openmap1); action(showspots1); action (hidespots2);"
>
<!-- maps -->
<plugin name="map1"
url="1stfloor.png" zorder="1" align="righttop" edge="righttop" x="10" y="25" alpha="0.85"
handcursor="false"
width="300" height="112"
onclick="action(closemap1);"
/>
<plugin name="map2"
url="2ndfloor.png" zorder="1" align="righttop" edge="righttop" x="10" y="25" alpha="0.85"
handcursor="false"
width="300" height="112"
onclick="action(closemap2);"
/>
<!-- buttons -->
<plugin name="firstfloorbutton" keep="true" align="righttop" alpha="0.7"
x="128" y="0" url="1st-floor.png"
onclick="action(closemap2); action(openmap1); action(showspots1); action(hidespots2);" />
<plugin name="secondfloorbutton" keep="true" align="righttop" alpha="0.7"
x="189" y="0" url="2nd-floor.png"
onclick="action(openmap2); action(closemap1); action(showspots2); action(hidespots1);" />
|
Hi,Still in the same tour: there is a main scene and various secondary ones.
Is it possible to arrive to a secondary scene from a link in an outer site?