OnProgress Event



 
Fires while SiteKiosk tries to establish a connection to the Internet.


Syntax

    SiteKiosk.Dialup.OnProgress = handler
Remarks
    Fires after each step of progression until 100 percent are reached and a connection is established.

    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example connects to the Internet and shows the progress.

    <div id="progress"></div>
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Dialup.OnProgress = OnProgress;
    function OnProgress()
    {
       var p = SiteKiosk.Dialup.ProgressPercent;
       var t = SiteKiosk.Dialup.DisplayText;
       progress.innerHTML = p + " % / " + t;
    }
    myconn = SiteKiosk.Dialup.RequestConnection("reason", false, true);
    </SCRIPT>
    

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

Back to top