A quick implementation:

$('body').unbind('mousedown').mousedown(function(e){
   var rightclick = (e.which)
       ? (e.which == 3)
       : (e.button == 2);
   var t = $(this);
   if (rightclick) {
       console.log('rightclick');
       if (t.data('rightclicked')) {
          console.log('double click!');
       } else {
           t.data('rightclicked',true);
           setTimeout((function(t){ return function(){ t.data
('rightclicked',false); } })(t), 300);
       };
   };
});

- ricardo

On Nov 29, 10:20 am, TheBlueSky <[EMAIL PROTECTED]> wrote:
> Hi everyone,
> Does anyone has code, implementation, plug-in or whatever to detect
> double right-click? I'm searching and trying for couple of days now
> without any result.
> Appreciate any help.

Reply via email to