+ -
当前位置:首页 → 问答吧 → SVG右键菜单兼容问题

SVG右键菜单兼容问题

时间:2011-04-28

来源:互联网

var newMenuRoot1=parseXML(printNode(svgdoc.getElementById('Menu1')),contextMenu);
contextMenu.replaceChild(newMenuRoot1.firstChild,contextMenu.firstChild);

这个方法是 svg中 ,动态添加右键菜单的方法,在 IE中是OK的, 但是,在Firfox 和 goole 中,就不行了。
有谁可以告诉我在firefox中显示右键菜单的方法。感激不尽

我是svg方面的菜鸟。有哪位高人可以指点一下

作者: Eric_li2010   发布时间: 2011-04-28