Internet Explorer 5 Demos : OnContextMenu Event

Description This sample shows the new functionality of the oncontextmenu event. Internet Explorer 5 allows developers to determine when somebody right-clicks on an element. The default action, showing the standard context menu, can be cancelled.

Browser/Platform Compatibility
This new feature of Dynamic HTML is supported in Microsoft Internet Explorer 5 on the Win32 and UNIX platforms. Any browser that does not support the oncontextmenu event should ignore it.

Complete Article

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.