OnInsert Event
Fires when a new window is created.
Syntax
SiteKiosk.WindowList.OnInsert = handler
|
Parameters
skwin |
WindowInfo object that represents the created window. |
Remarks
The object that caused the event can be referenced in the event function using "this".
Examples
The following example counts all new windows.
<div id="act">Create new windows.</div>
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
var countcreated = 0;
SiteKiosk.WindowList.OnInsert = OnInsert;
function OnInsert(skwin)
{
countcreated++;
act.innerHTML = countcreated;
}
</SCRIPT>
|
Applies to
SiteKiosk v5.0 (and later versions).
Back to top