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

  • Microsoft joins SVG working group
  • How to make impact with your design
  • Jumping in to SVG
  • Sketsa SVG Editor 6.2.2 Released
  • Mappetizer for ArcGIS now supports OpenStreetMap and Wikipedia
  • (help) improving THE SVG image on Wikipedia
  • SVG Open 2009 Follow-Up
  • Sketsa SVG Editor 6.2.1 Released
  • Grapher
  • SVG + Semantics in Actionscript 3
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