Hello,
I use the following code to hide instrucions automatically after 10 seconds. It works and I am very happy with it.
At the momment I have the panoramas in itscorresponging folder (room1, room2, room3, etc...)
Inside each folder I have the panorama image and a pano.xml file which contains all the parameters that may be different depending on the panorama ( hlookat, vlookat, tileimagewidth, etc...)
<krpano version="1.0.8" onstart="delayedcall(10, action(hideinstructions); );">
<include url="../global.xml"/>
<include url="../plugins.xml"/>
<view hlookat="-15"
vlookat="0"
fov="60" fovmin="45" fovmax="90"
fisheye="0.44" fisheyefovlink="2.40" limitfov="true"
/>
<preview type="cubestrip" url="preview.jpg" details="8"
/>
<image type="SPHERE" multires="yes" tilesize="500">
<level download="all" tiledimagewidth="5500" tiledimageheight="2750">
<sphere url="tiles_10_%0v_%0u.jpg" />
</level>
</image>
</krpano>
Alles anzeigen
As you can see I include global.xml and plugins.xml. Both files contain all the parameters common in all the panoramas (display, autoritate, progress, plugins, etc..)
This way if I would like to change the display details parameters I just have to edit globals.xml once and it will affect all the panormas.
Now, the question: is there another way to call the action 'hideinstructions' apart from inside the <krpano> tag? If in the future I wouldn't like to edit all the pano.xml files if I would like to change the delayedcall from 10 to 20.
Thanks in advance.