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!
注释:onshow 事件目前仅在 Firefox 中受支持。