Howto talk:Extend the Canvas SVG module
Revision as of 16:23, 22 January 2018 by Hooray (Talk | contribs) (→scripting and DOM events: new section)
scripting and DOM events
<rect x="10" y="10" width="100" height="75"
style="stroke: #000000; fill: #eeeeee;"
onmouseover="this.style.stroke = '#ff0000'; this.style['stroke-width'] = 5;"
onmouseout="this.style.stroke = '#000000'; this.style['stroke-width'] = 1;"
/>