Re: SVG and right clicks
Jonathan Watt <[email protected]> Mon, 12 Oct 2009 12:36:30 +0200
| Newsgroups | gmane.comp.mozilla.devel.svg |
|---|---|
| Message-ID | <[email protected]> |
Hi Volker, oncontextmenu is probably what you want. Jonathan On 2009-10-12 10:35 AM, Volker Gersabeck wrote: > Hi, > > just a short question: is it possible to catch a right click on an SVG > element? The svg spec says that it should be possible and the evt.button > attribute should tell which button has been pressed. However, my onclick > event handler is not triggered for right clicks (just for left clicks) and I > get the default browser right-click menu... > > I'm using Firefox 3.5.3 on Mac OS X 10.6.1 > > Thanks for your help. > > Regards, > Volker > > p.s. the mousedown is triggered for both left and right click... > > -- > RapidRabb.it is now pidoco.com > > pidoco GmbH > Warschauer Straße 58a > 10243 Berlin > Tel. +49 30 488 16 385 > [email protected] > > www.pidoco.com > Accelerate your Prototyping! > > pidoco GmbH > Sitz der Gesellschaft: Berlin > Registergericht Berlin-Charlottenburg, HRB 115010 > Geschäftsführer: Philipp Huy