jquery context menu plugin - Where is the right click event type?
<p>I was studying the code for the plugin below and wondering where and when does it tie the "Right Click" event. All it does is </p>

<p>Plugin reference link : <a href="http://www.javascripttoolbox.com/lib/contextmenu/" rel="nofollow">http://www.javascripttoolbox.com/lib/contextmenu/</a></p>

<p><code>$(this).bind('contextmenu',function(e){cmenu.show(this,e);return false;});</code></p>

<p>and "contextmenu" is a custom jquery event type.</p>

<p>Can someone please explain how all this works</p>

<p>I did check there are click events but those are tied to the menu items and not the element to which the menu is tied.</p>

<p>Thanks</p>

<p>Answer: "contextmenu" is not a custom event type. It is actually another name (mapping etc) for 'right click'</p>
