This example uses the addEventListener() method to attach a "show" event to a menu element.

Right-click inside this box to see the context menu!

Note: The show event is currently only supported in Firefox.