SiteKiosk Documentation
One Step Back

OnTrayPopup Event




Fires when the tray icon's shortcut menu is displayed.


Syntax

    SiteCafe.OnTrayPopup = handler
    
Parameters
    mouseXLong value that contains the horizontal mouse position.
    mouseYLong value that contains the vertical mouse position.
Remarks
    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example displays an alert window when the tray icon's shortcut menu is displayed.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe.OnTrayPopup = OnTrayPopup;
    function OnTrayPopup(mouseX, mouseY)
    {
       alert("mouseX: " + mouseX);
       alert("mouseY: " + mouseY);
    }
    </SCRIPT>
    

Applies to
    SiteKiosk v6.2 (and later versions).

Back to topBack to top

© 1997-2010 PROVISIO - Aventura, USA & Muenster, Germany - SiteKiosk DevTeam