Location: Netherlands
Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
|
|
Source code |
1 2 3 4 |
<action name="areasur"> set(area4,get(pano[3.xml].visible)); if(area4 == false, set(plugin[surounding].visible,false);, set(plugin[surounding].visible,true); </action> |
: https://pame.virtualtuur.comLocation: Netherlands
Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comHi ,
I like to do an if /else thing (in xml)... so that it gets if a certain panorama (xml) is loaded...
for example:
![]()
Source code
1 2 3 4 <action name="areasur"> set(area4,get(pano[3.xml].visible)); if(area4 == false, set(plugin[surounding].visible,false);, set(plugin[surounding].visible,true); </action>
|
|
Source code |
1 2 3 |
if (xml.url == "3.xml",set(plugin[surrounding].visible,true)); if (xml.url == "4.xml",set(plugin[surrounding].visible,false)); ... |
|
|
Source code |
1 2 3 4 5 6 7 8 |
<krpano version="1.0.9" surroundingvis="true" > <events onxmlcomplete="onxmlcomplete()" /> <action name="onxmlcomplete"> copy(plugin[surrounding].visible,surroundingvis); </action> </krpano> |
Location: Netherlands
Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
|
|
Source code |
1 2 3 4 5 6 7 8 9 |
<action name="tuur"> ... if(xml.url == '3.xml', set(plugin[pinsane].visible,true);, set(plugin[pinsane].visible,false); ... </action> |
: https://pame.virtualtuur.comThis post has been edited 1 times, last edit by "Tuur" (May 7th 2010, 11:05pm)