OnTitleChange Event



 
Fires when the current title changes.


Syntax

    SiteKioskWindow.SiteKioskWebBrowser.OnTitleChange = handler
Parameters
    abs_Text String that contains the new title.
Remarks
    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example shows the current title.

    <div id="id_titletext"></div>
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKioskWindow.SiteKioskWebBrowser.OnTitleChange = onTitleChange;
    function onTitleChange(abs_Text)
    {
    	id_titletext.innerHTML = abs_Text;
    }
    </SCRIPT>
    

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

Back to top