This example uses the HTML DOM to assign an "onshow" event to a menu element.
Right-click inside this box to see the context menu!
Note: The onshow event is currently only supported in Firefox.