SiteKiosk Documentation
One Step Back

OnRemove Event




Fires when a window is closed.


Syntax

    SiteKiosk.WindowList.OnRemove = handler
Parameters
    skwinWindowInfo object that represents the closed window.
Remarks
    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example counts all closed windows.

    <div id="rem">Create new windows and close them.</div>
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    var countclosed = 0;
    SiteKiosk.WindowList.OnRemove = OnRemove;
    function OnRemove(skwin)
    {
       countclosed++;
       rem.innerHTML = countclosed;
    }
    </SCRIPT>
    

Applies to
    SiteKiosk v5.0 (and later versions).

Back to topVolver arriba

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