Loading ...
Sorry, an error occurred while loading the content.

Re: SVG ecmascript - setting style attribute using onmouseover/onmouseout

Expand Messages
  • george55bu
    If you didn t want to remove the fill attribute as Jeff suggested you could use evt.target.setAttribute( style , fill:red ); instead. If you want to go CSS all
    Message 1 of 6 , Aug 29, 2009
    • 0 Attachment
      If you didn't want to remove the fill attribute as Jeff suggested you could use evt.target.setAttribute("style","fill:red"); instead.

      If you want to go CSS all the way as Erik suggested use id='x123'
    Your message has been successfully submitted and would be delivered to recipients shortly.