Hi,

I met some trouble for disable default mouse right click context menu
with SVG in firefox. following is the description:

-my env is Firefox 2.0
-I embed one svg doc into one html file
-in the heml page onload function I disabled the document default
behaviour for right click by using following statement:

   document.body.oncontextmenu=function(evt){evt.preventDefault();} 

it works fine while right click on the window except the svg area, the
svg area still popups the default menu which firefox provided. 

I have searched web, someone mentioned contextMenu which only
supported by Adobe SVG viewer, but my work env is firefox only. anyone
have idea to solve it? 

many thanks.
 



-----
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/
 

Reply via email to