This example demonstrates how to assign an "oncontextmenu" event to a div element.
Right-click inside this box to see the context menu!
Note: The contextmenu attribute only works in Firefox!