One toggle code works; one doesn't

  • I'm trying the new beta 8 version and having one button (ie a single graphic) toggle on/off. In the examples below the full-screen toggle works perfectly , but the autorotate toggle doesn't have any effect.

    Any clues ?

  • Hi Richard,

    Try autorotate.enabled

    Code
    <action name="rotatetoggle">
    if(autorotate.enabled == true, set(autorotate.enabled,false); autorotate.enabled == false, set(autorotate.enabled,true); );"
    </action>

    Salut.

Jetzt mitmachen!

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