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?

    Einmal editiert, zuletzt von Islander (5. Mai 2013 um 11:27)

  • 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

Jetzt mitmachen!

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