--- In [email protected], Jonathan Watt <[EMAIL PROTECTED]> wrote: > > deluxepotatoe wrote: > > I'm using a reference to a symbol like following : > > {{{ > > <use xlink:href="#symbol-railroad_crossing" /> > > }}} > > > > My problem is that ctrl+click on such an element opens a new tab under > > FF2. > > Is there any known way to prevent this ? > > You can try adding something like onclick="if (evt.ctrlKey) > evt.preventDefault();" to your <use/>. >
This didn't work for me. However, I found that the following does the job : onclick="evt.stopPropagation()" ----- 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/

