|
|
PHP-Quelltext |
1 2 3 4 5 6 7 8 |
<krpano version="1.0.8.14" onstart="startup();">
<action name="startup">
loadscene(get(scene[0].name), null, MERGE);
oninterrupt(openurl('xxx.html'););
</action>
<scene name=...
|
|
|
PHP-Quelltext |
1 2 3 4 5 6 7 8 9 10 |
<krpano version="1.0.8.14" onstart="startup();">
<action name="startup">
loadscene(get(scene[0].name), null, MERGE);
</action>
<action>
oninterrupt(openurl('xxx.html'););
</action>
<scene name=...
|
|
|
PHP-Quelltext |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<krpano version="1.0.8" onstart="startup();">
<action name="startup">
buildthumbs();
autotour();
set(idletime,5);
set(events.onidle, autotour() );
</action>
<action name="autotour">
set(step,1);
oninterrupt(openurl('xxx.html'););
if(step == 1, loadscene(scene_baghahouddin, null, MERGE, ZOOMBLEND(1,2) ); lookto(360, get(view.vlookat),get(view.fov), smooth(2,2,5), false); inc(step); );
|
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »wishbone« (6. Februar 2012, 19:46)
ich mache jetzt daraus ein neues Thema, wenn ich darf...
Warum funktioniert das hier nicht:
![]()
PHP-Quelltext
1 2 3 4 5 6 7 8<krpano version="1.0.8.14" onstart="startup();"> <action name="startup"> loadscene(get(scene[0].name), null, MERGE); oninterrupt(openurl('xxx.html');); </action> <scene name=...
ich habe es auch probiert mit:
![]()
PHP-Quelltext
1 2 3 4 5 6 7 8 9 10<krpano version="1.0.8.14" onstart="startup();"> <action name="startup"> loadscene(get(scene[0].name), null, MERGE); </action> <action> oninterrupt(openurl('xxx.html');); </action> <scene name=...
woher soll ich wissen, wie das geschrieben werden muss??? es macht mich wahnsinnig ;-)
in der Datei, wo es funktioniert, ist es so:
![]()
PHP-Quelltext
1 2 3 4 5 6 7 8 9 10 11 12 13<krpano version="1.0.8" onstart="startup();"> <action name="startup"> buildthumbs(); autotour(); set(idletime,5); set(events.onidle, autotour() ); </action> <action name="autotour"> set(step,1); oninterrupt(openurl('xxx.html');); if(step == 1, loadscene(scene_baghahouddin, null, MERGE, ZOOMBLEND(1,2) ); lookto(360, get(view.vlookat),get(view.fov), smooth(2,2,5), false); inc(step); );
|
|
PHP-Quelltext |
1 2 3 4 5 6 7 8 9 10 11 |
<krpano version="1.0.8.14" onstart="startup();">
<action name="startup">
loadscene(get(scene[0].name), null, MERGE);
urloeffnen();
</action>
<action name="urloeffnen">
oninterrupt(openurl('xxx.html'););
</action>
<scene name=...
|
wir sprechen von einer Art "kiosk" Modus, wo bei Untätigkeit der Nutzer ein pano abläuft, aber sobald man den Bildscirm antippt, eine andere Seite geöffnet wird
|
|
PHP-Quelltext |
1 2 3 4 5 6 7 8 9 |
<events
onloadcomplete="olc();"
onkeydown="myKeyDown();"
onkeyup="myKeyUp();"
onmousedown="omd();"
/>
<action name="omd">
set(gUserKlick,true);
</action>
|