We don't have an SVG forum, but this is the most closely related one, so I ask my question here:
I want to do something like this:
Is there a way to make an attribute dynamic like this? Thanks.
--Ryan
I want to do something like this:
Code:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000303 Stylable//EN" "[URL unfurl="true"]http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">[/URL]
<svg xml:space="preserve" width="350" height="120">
Code:
var varD = 'M 50 10 L 350 10 L 200 120 z'
<path d=varD/>
Code:
</svg>
--Ryan