loadpano question

  • I trying to get this line to work without success. Will appreciate your quick help:

    <layer name="spot4" style="HIGHLIGHT BUTTON" x="180" y="190" onclick="loadpano(1index.xml, layer[sidebar].visible=true, IGNOREKEEP, BLEND(1));" />

    I can't get the "SIDEBAR" layer to be visible right on loading the 1index.xml where the target layer is by default set to "visible="false"". What's could be wrong with this?

    Edited once, last by Islander (May 5, 2013 at 11:27 AM).

  • Hi,

    which krpano version exactly?
    Flash or HTML5?

    With the latest version this should normally work...

    Another way, that should work in all versions, would be:

    Code
    loadpano(1index.xml, null, IGNOREKEEP, BLEND(1)); set(layer[sidebar].visible,true);

    Best regards,
    Klaus

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!