[svg-developers] Re: Modifying custom context menu actions

2006-05-18 Thread Andreas Neumann
Hi Jeff,

the context menu is a feature of the Adobe SVG viewer. It isn't defined in the 
SVG 
language.

Therefore SVG viewers implement different controls.

The Adobe SVG viewer is going to die but native SVG implementations in browsers 
will 
take over. Opera9 and Firefox already have native SVG implementations, Safari 
will follow 
and eventually Iex as well.

So, to use context menues in all the applications out there you'd need to 
program it 
yourself or find some existing js code out there.

Andreas

--- In svg-developers@yahoogroups.com, Jeff [EMAIL PROTECTED] wrote:

 Can someone send me an example of how to replace the menu.  Searching
 on Google seems impossible. I did manage to find an example that works
 within IE, but it doesn't work at all on Firefox. :(
 
 As to the direct question below.  I tried using
 xlink:href=javascript:myfunction() as the menu item which failed in
 IE.  Would be interested in finding a solution to this as well.
 







 Yahoo! Groups Sponsor ~-- 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/1U_rlB/TM
~- 

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

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





[svg-developers] Re: Modifying custom context menu actions

2006-05-17 Thread Jeff
Can someone send me an example of how to replace the menu.  Searching
on Google seems impossible. I did manage to find an example that works
within IE, but it doesn't work at all on Firefox. :(

As to the direct question below.  I tried using
xlink:href=javascript:myfunction() as the menu item which failed in
IE.  Would be interested in finding a solution to this as well.


--- In svg-developers@yahoogroups.com, Richard Pearman
[EMAIL PROTECTED] wrote:

 Yes, I've been wondering about this myself.  Perhaps I've overlooked
some
 posting explaining it but I can't find any documentation about custom
 context menues.  Well there is one exception of the AV3 release
notes making
 a passing mention of contextMenu in a table entitled Interface Window.
 This is described as a read-only attribute in the Type column
but the
 Comment column says Modifyable XML description of viewer's
context menu
 which seems to be a contradiction.
 
 How exactly are you supposed to do this?
 
 Richard Pearman http://www.nucleus.com/~richardp/
 
 - Original Message -
 From: [EMAIL PROTECTED]
 To: svg-developers@yahoogroups.com
 Sent: Tuesday, November 20, 2001 1:50 PM
 Subject: [svg-developers] Modifying custom context menu actions
 
 
  hi all
 
  i agree with postings requesting more plug in documentation.   a
  couple specific example questions:
 
  i've created a custom context menu per other postings here.  however,
  i can't figure out the syntax, if there is any, to pass the context
  menu jscript functions.
 
  item action='myFunction()'Selection/item doesn't work.  so my new
  menu can't do anything custom - unless i want to reuse the
  predefined  menu actions such as 'ZoomIn'.
 
  also, can special characters be used in a custom context menu -
  modifying the font or inserting graphics?
 
  dave
 
 
 
  -
  To unsubscribe send a message to:
 [EMAIL PROTECTED]
  -or-
  visit http://groups.yahoo.com/group/svg-developers and click edit my
 membership
  
 
  Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
 
 
 











 Yahoo! Groups Sponsor ~-- 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/1U_rlB/TM
~- 

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

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