📄 test2.svg
字号:
<svg width='200' height='100'> <script><![CDATA[ /* NOTE: Mozilla 0.91 with Adobe SVG plugin does support: -> Accessing the embeded SVG from outer HTML with document.embeds["mySVG"].getSVGDocument() OK: xpconnect wrapped HTMLEmbedElement Mozilla 0.* with Adobe SVG plugin do NOT support: -> Exporting the svgdoc handle to the outer HTML -> Reported to bugzilla # 115528 */ function show(evt) { svgdoc = evt.getCurrentNode().getOwnerDocument(); alert("svg: svgdoc=" + svgdoc); var owner = svgdoc.ownerDocument; alert("svg: ownerDocument=" + owner); } ]]></script> <g id='xy'> <text id='texte' x='50' y='40' onclick='show(evt)' style='text-anchor:left;font-size:12;font-family:Arial;fill:red'> Click me for SVG embeded info </text> <rect id='rectangle' onclick='change_attribut(evt)' x='50' y='50' width='20' height='50' style='fill:blue'/> </g></svg>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -