SecurityLockIcon Property



 
The SecurityLockIcon property contains the display status of the lock icon for web site security.


Syntax

    [long=] SiteKioskWindow.SiteKioskWebBrowser.SecurityLockIcon
Possible Values
    Long value that is 0 if the site is not secure.
    6 if the site is secure and a security lock icon can be diplayed.

    The property is read only.
Remarks Examples
    The following example shows a security icon and refreshes it when a new page is opened.

    <div id="id_titletext"></div>
    <img id="id_secureicon" src="yournotsecureicon.gif">
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKioskWindow.SiteKioskWebBroser.OnTitleChange = titleChange;
    function titleChange(abs_Text)
    {
       id_titletext.innerHTML = abs_Text;
       if(SiteKioskWindow.SiteKioskWebBrowser.SecurityLockIcon!=0)
       document.images["id_secureicon"].src="yoursecureicon.gif";
       else
       document.images["id_secureicon"].src="yournotsecureicon.gif";
    }
    </SCRIPT>

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

Back to top