SiteKiosk Documentation
One Step Back

SetFocus Method




The SetFocus method sets the focus to a SiteKiosk window.


Syntax

    SiteKioskWindow.SetFocus()
Return Value
    None.
Remarks
    None.
Examples
    The following example calls a method of the SiteKioskWindow object that will set the focus back to the window if it loses it.

    <html>
    <head>
    <SCRIPT TYPE="text/javascript">
    function focusAgain()
    {
       window.external.InitScriptInterface();
       SiteKioskWindow.SetFocus();
    }
    </SCRIPT>
    </head>
    <body onblur="focusAgain()">
    </body>
    </html>
    

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

Back to topBack to top

© 1997-2010 PROVISIO - Aventura, USA & Muenster, Germany - SiteKiosk DevTeam