Sie sind nicht angemeldet.

1

Sonntag, 5. Mai 2013, 07:42

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?

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Islander« (5. Mai 2013, 11:27)


2

Sonntag, 5. Mai 2013, 20:28

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:

Quellcode

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


Best regards,
Klaus

3

Sonntag, 5. Mai 2013, 22:01

Islander, and your link is... ??