Public · Protected · Private
SVG add events
Type: Public  |  Created: 2012-07-03  |  Frozen: Yes
« Previous Public Blog Next Public Blog »
Comments
  • <script type="text/javascript" > function Amouseover(myitem) {myitem.textContent = "mouseover";} function Aonmouseout(myitem) {myitem.textContent = "onmouseout"; } function Aonclick(myitem) {myitem.textContent = "onclick";} function Aonload(myitem) {myitem.textContent = "onload";} function Aonzoom(myitem) {myitem.textContent = "onzoom"; } function Aonscroll(myitem) {myitem.textContent = "onscroll";} function Aonresize(myitem) {myitem.textContent = "onresize"; } </script> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="300" height="80"> <text x="0" y="15" fill="red" onmouseover="Amouseover(evt.target);" onmouseout="Aonmouseout(evt.target);" onclick="Aonclick(evt.target);" onload="Aonload(evt.target);" onzoom="Aonzoom(evt.target);" onscroll="Aonscroll(evt.target);" onresize="Aonresize(evt.target);" >SVG is Boring</text> </svg>
    2012-07-03 02:39
This blog is frozen. No new comments or edits allowed.