Builtin function showing users to use both keyboard and mouse?

  • Dear krpano enthusiasts,

    Asking around to random users of my website, I've realized that not all of them understand that they can use the keyboard arrows to move inside the pano.

    Therefore, I'm wondering whether in krpano there is some builtin function that somehow shows users that they can use both the keyboard and the mouse to see the pano.

    Thanks

  • Hi,

    the krpano viewer doesn't have ANY build-in UI - that's always all custom defined the xml.

    E.g. just use a <layer> to show an instructions image and hide it on click:

    Code
    <layer name="intro" keep="true" url="intro.png" align="center" onclick="removelayer(intro);" />


    or a bit refined with fading out:

    Code
    <layer name="intro" keep="true" url="intro.png" align="center" onclick="set(enabled,false);tween(alpha,0,0.5,default,removelayer(intro));" />

    Best regards,
    Klaus

Jetzt mitmachen!

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