Use the 'oncontextmenu' event:

$('#flot').bind('contextmenu',function() { return false });

Be aware that it's not fully supported cross-browser, and most
browsers have an option to disallow this.

- ricardo

On Nov 4, 3:54 am, "faizal iqbaal" <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I have been trying to enable right click on a flot implementation of mine
> and havent been sucessful so far need a little help on it.
> if i can programatically invoke the plot.onclick  method that can also sort
> out my woes.
>
> basially in onlick I can check for the event.button and do the specifics but
> how do i riht click without bining up the browser context menu.
>
> Thanks in advance
>
> Faizal

Reply via email to