Ah!!!, Great, that works.
Thanks, Chris -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Erik Dahlström Sent: Mittwoch, 11. April 2007 11:07 To: [email protected] Subject: Re: [svg-developers] Opera key events On Wed, 11 Apr 2007 10:39:10 +0200, Chris Peto <[EMAIL PROTECTED]> wrote: > Hi All, > > I CGUI I have an edit that should take numbers and characters, but some > of > the numbers are shortcuts in Opera, therefore my edit gets the character > but > Opera also handles the shortcut, i.e. zooming. > > Is there any way to stop this without have to delete the shortcuts? Yes, evt.preventDefault(). See the table at the bottom of the article[1], and some examples of it being used[2]. Hope this helps /Erik [1] http://dev.opera.com/articles/view/debugging-svg-with-opera/ [2] http://www.carto.net/papers/svg/eventhandling/ -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

