# OnScreenSaverBegin Event Fires when the screensaver becomes active. Syntax
    SiteKiosk.ScreenSaver.OnScreenSaverBegin = handler
Remarks The object that caused the event can be referenced in the event function using "this". Examples The following example reactivates SiteKiosk when the screensaver becomes active.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.ScreenSaver.OnScreenSaverBegin = OnScreenSaverBegin;
    function OnScreenSaverBegin()
    {
       SiteKiosk.ScreenSaver.Reactivate();
    }
    </SCRIPT>
Applies to SiteKiosk v5.0 (and later versions). Back to top