Hi Dan

I'm about to use your plugin in a RIA and I'd need to change the binding.
In order to avoid to duplicate stuff, I wonder if you've come to a
configurable
property.

Otherwise I'll see if I've the time to contribute something.
cheers
Frrancesco


Dan G. Switzer, II wrote:
> 
> 
>>I've tried to solve this myself, and seeked help on the IRC-channel,
>>but the "problem" seems to be hard to overcome. I've implementet the
>>contextmenu-plugin (
>>http://www.trendskitchens.co.nz/jquery/contextmenu/jquery.contextmenu.r2.js
>>) on a site, and the client has fallen in love with it and how it
>>works - but they want to have it trigger on left-click instead of
>>right.
>>
>>The problem is that i can't figure out -where- the rightclick is
>>caught, so that i can change it to left-click. Can anyone think of a
>>way to solve that?
>>
>>I'm at a loss here :p
> 
> Look for the line starting with:
> 
> $(this).bind('contextmenu',
> 
> The "contextmenu" is what is binding this to the right-click. Change
> "contextmenu" to "click" and it should work with a left click.
> 
> -Dan
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-change-contextmenu-plugin-to-trigger-on-left-click-tp14688817s27240p16323992.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to