This might catch more: $$('.items').each(function(i) { i.observe('contextmenu', function(e) {e.stop();}) }).observe('click',function(e) { if (e.isRightClick()) e.stop(); });
On Mon, Jun 30, 2008 at 6:56 AM, darrin <[EMAIL PROTECTED]> wrote: > > that seemed to work for me in FF3, make sure the 'items' class name is > on each img. > > Also you might want to try the contextmenu event... > > $$('.items').each(function(i) { > i.observe('contextmenu', function(e) {e.stop();}) > }); > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---