jQuery Context Menu Demo

Example 1

Context menu for a single div. Note that the native context menu is disabled by passing {disable_native_context_menu: true} as the options hash and last argument of the plugin. The native context menu is enabled by default.

Right-click me!

Example 2 - triggered on left click

You can use the same syntax, but use any other selector to target multiple elements with the same context menu. Notice the leftClick: true which indicates that it should trigger on left click instead of right click.

Example 3 - highlight current target

You can use the showMenu and hideMenu options to highlight the current context menu target.