hi,
Well Holger thanks a lot for your kind advice , yet i have find another way of
making ur own cusomizeable menu having options available that one wants ,
<svg onload="makeNewMenu()" onmousedown="mousedown=true">
<desc>
<menu id='newMenu' xmlns="http://usm">
<item action='ZoomIn'> Zoom In</item>
<item action='ZoomOut'> Zoom Out</item>
<item action='OriginalView'> Original View </item>
</menu>
<desc>
<script>
<![CDATA[
function makeNewMenu()
{
var
newMenuRoot=parseXML(printNode(document.getElementById("newMenu")),contextMenu;
contextMenu.replaceChild(newMenuRoot,contextMenu.firstChild);
}
]]>
</script>
</svg>
the above code is working properly in IE and ASV3.0 , i havent yet tested it in
batik . the above code is apprehended from the examples provide by francis
hemsher.
regards,
Usman.
Holger Will <[EMAIL PROTECTED]> wrote:
Muhammad usman schrieb:
> hi bart,
>
> can u tell me how to add a custom menu in ASV3 which does not include
> the copy and paste functionality.
> regards,
> Usman
>
Hi Usman
you dont need to hack the contex menue to achieve that, you can instead
use a processingInstruction like this:
|<?AdobeSVGViewer save="disable"?>
|for more info , see:
http://www.adobe.com/svg/indepth/pdfs/CurrentSupport.pdf
hth
Holger
-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my
membership"
----
SPONSORED LINKS
Format Data Svg Computer internet
---------------------------------
YAHOO! GROUPS LINKS
Visit your group "svg-developers" on the web.
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
---------------------------------
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
[Non-text portions of this message have been removed]
-----
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/