OnProgress Event

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


    SiteKiosk.Dialup.OnProgress = handler
    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".
    The following example connects to the Internet and shows the progress.

    <div id="progress"></div>
    <SCRIPT TYPE="text/javascript">
    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);

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

Back to top