how to write your own right click menu and disable the default using jquery/javascript

kratz picture kratz · Sep 20, 2009 · Viewed 18.3k times · Source

I successfully disabled the right click event on the page that I am working on using jquery. I want to create a customize right click menu. How can I do this? Does this need relevant css setting to get it working (i.e. "position")?

Answer

Christian C. Salvadó picture Christian C. Salvadó · Sep 20, 2009

There are various jQuery context menu plugins out there, ready to use: