SiteKiosk Documentation
One Step Back

Set Method




The Set method creates or updates a new template variable by key and value.


Syntax

    SiteKiosk.Plugins("SiteCash").Set(key, value)
    
Parameters
    keyString that specifies the key of the template variable.
    valueString that specifies the the value of the template variable.
Return Value
    None.
Remarks
    None.
Examples
    The following example creates a new template variable called $(RemainingSurftime).

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    
    var SiteCash = SiteKiosk.Plugins('SiteCash');
    SiteCash.Macromap.Set("RemainingSurftime", SiteCash.RemainingSurftime);
    
    </SCRIPT>
    

Applies to
    SiteKiosk v7.2 (and later versions).

Back to topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -