Virtual Tour Editor - krpano 1.19-pr13 - gibt es eine "Laufzeit"-Überprûfung

  • Hallo,

    gibt es eine Möglichkeit per actionscript festzustellen, ob der Virtual Tour Editor (statt der normalen Webtour) läuft?
    Ich habe eine Routine, die ich im Virtual Tour Editor deaktivieren möchte.

    Gruß,

    Sebastian

  • Hi,

    ja, da gibt es Möglichkeiten.
    Der Editor setzt eine 'vtoureditor' Devices Variable und es gibt auch ein 'vtoureditor' Objekt.

    Abfragen wäre z.B. so möglich:

    Code
    <xml ... devices="vtoureditor" />
    <xml ... devices="no-vtoureditor" />


    oder im Action-Code:

    Code
    if(vtoureditor, ...);
    if(device.vtoureditor, ...);

    Schöne Grüße,
    Klaus

Participate now!

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