Navigate Method



 
The Navigate method navigates to a specified address in the SiteKiosk Player on the second monitor.


Syntax

    [str=] SiteKiosk.SecondMonitorBrowser.Navigate(abs_URL)
Parameters
    abs_URL String that specifies the URL.
Return Value
    None.
Remarks
    None.
Examples
    The following example checks the availability of the SiteKiosk Player on the second monitor and navigates to a specified URL.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    lb_2ndMonBrowserEnabled = false;
    lb_2ndMonBrowserActive = false;
    lb_2ndMonBrowserIsSKPlayer = false;
    if(SiteKiosk.SecondMonitorBrowser.Enabled)
    	lb_2ndMonBrowserEnabled = true;
    if(SiteKiosk.SecondMonitorBrowser.Active)
    	lb_2ndMonBrowserActive = true;
    if(SiteKiosk.SecondMonitorBrowser.IsSKPlayer)
    	lb_2ndMonBrowserIsSKPlayer = true;
    if(lb_2ndMonBrowserEnabled == true && lb_2ndMonBrowserActive == true 
    && lb_2ndMonBrowserIsSKPlayer == true)
    	SiteKiosk.SecondMonitorBrowser.Navigate
    	("http://www.provisio.com/");
    else
    	SiteKiosk.Logfile.Notification("2nd Monitor Enabled: " + 
    	lb_2ndMonBrowserEnabled + ", Active: " + 
    	lb_2ndMonBrowserActive + ", SKPlayer: " + 
    	lb_2ndMonBrowserIsSKPlayer);
    </SCRIPT>

Applies to
    SiteKiosk v7.7 (and later versions).

Back to top