Howto talk:Extend the Canvas SVG module

Add topic
Active discussions
Revision as of 21:23, 22 January 2018 by Hooray (talk | contribs) (→‎scripting and DOM events: new section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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