HTML onshow Event Attribute HTML Event Attributes Example When Execute JavaScript when the element's context menu is displayed: Right-click the yellow box area with the mouse to view the context menu! Try it » Definition and Usage The onshow attribute, when element's context menu is displayed. Browser support The numbers in the table indicate the version number of the first browser to support the event. Event attribute onshow Not supported Not supported 8.0 Not supported Not supported Differences between HTML 4.01 and HTML5 The onshow attribute is new in HTML5. Syntax < element onshow=" script ">HTML DOM Reference Manual: onshow event HTML Event Attributes