Planet SVG
  • Home
  • Blog
  • News
  • Forums
Home
 

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Request new password

Recent blog posts

  • Sketsa SVG Editor 6.4 Released
  • Animated map of the Gulf of Mexico Oil Spill, made with SVG
  • Mappetizer 8.2 for ArcGIS Released
  • SVG Open in Paris; put the Eiffel-towered banners on your site !!
  • IE9 will support SVG !! (preview available)
  • Microsoft and W3C co-present about SVG at MIX conference
  • Microsoft joins SVG working group
  • How to make impact with your design
  • Jumping in to SVG
  • Sketsa SVG Editor 6.2.2 Released
more

Scripts Library

July 30, 2008 - 4:46pm

''This is just some example text to get the ball rolling''

Javascript can be embedded in SVG much as it can be embedded in an HTML document and for similar reasons. Although SMIL [[http://www.w3.org/TR/SVG11/animate.html | Animation]] is the method defined in the specification for animating SVG, many developers don't want to depend on the user agent to implement SMIL so they also use [[JavascriptForAnimation|Javascript for animation]].

There are also numerous scripts in server-side languages that produce SVG output. For example [[creatingSvgUsingPhp|PHP]] , [[creatingSvgUsingPython|Python]] and [[creatingSvgUsingRuby|Ruby]] can all produce well-formed XML and therefore have no problem producing SVG.

Several common problems dealing with SVG embedded in HTML relate to reaching ''into'' the SVG document from the HTML.

  • How to animate an existant SVG drawing as embed into an HTML document
  • JavascriptForAnimation
How to animate an existant SVG drawing as embed into an HTML document ›
 
Powered by Drupal, an open source content management system