Month: June 2009

jQuery-plugin: jquery.rightclick

I’ve written a plugin for jQuery to handle right click events.

The plugin provides two features:

$( … ).disableContextMenu( condition_event );

This function disables the browsers build-in contextmenu (right-click menu on PC’s).

condition_event  – is an optional parameter, it’s meant to be a function-reference to determine if the contextmenu should be shown, the function must return true if the menu… Read more »