Hello,
Excellent article. Anyone get this working in Firefox 1.5? Anyone know of any reason why it wouldn't work in Firefox 1.5?
In the example included below I get the error:
Error: tspan.style has no properties
Source File: file:TextWrap.js
Line: 150
Thanks,
Rick
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:text="http://xmlns.graougraou.com/svg/text/"
onload="TextWrap._init()"
>
<defs>
<script type="text/javascript" xlink:href="TextWrap.js" />
</defs>
<text:wrap x="10.5" y="47.5" width="440" style=" font-family: arial;font-size: 11px;text-rendering: optimizeLegibility;text-align: justify;line-interval: 1.5em">SVG is a language for describing two-dimensional graphics in XML. SVG allows for three types of graphic objects</text:wrap>
</svg>
|