Intro Image on Reload

  • Trying to figure out how to prevent my intro image from reloading every time I go back to the first pano. I did find an example but the replies are in German and I don't understand which one would be the correct approach.

    Thanks

    Robert

  • Hello Klaus,

    Please see the code below.

  • Hi, i've the same problem.
    I've put this script outside the scene tag

    but the intro image doesn't appear on start.
    Could you help me?

    Thanks

  • ok! that works -but how can the introimage reload /
    appear after certain time of inactivity again ?

    with this code:

    <krpano version="1.0.8" >

    <events onloadcomplete="delayedcall(100, hideintroimage() ); set(events.onloadcomplete,null);" />
    <plugin name="introimage"
    url="intro.png"
    align="center"
    scale="0.9"
    onloaded="set(alpha,0); tween(alpha,0.8);"
    onclick="hideintroimage();"
    />

    <action name="hideintroimage">
    if(plugin[introimage].enabled,
    set(plugin[introimage].enabled,false);
    tween(plugin[introimage].alpha, 0.0, 0.5, default, removeplugin(introimage));
    );
    </action>

    <image>
    <cubestrip url="pano.jpg" />
    </image>

    </krpano>

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!