I started looking at Firefox with native SVG enabled. The following
file shows a few ways to modify a text element character data. You
click on the text item and it is modified. Simple. They don't all
work in Firefox/SVG.
The programmer in me says just code it the way that works, but I am
Peter Thompson wrote:
> case 'text4': // works in Squiggle, Firefox/SVG and ASVG
> element.firstChild.data = "hello";
> break;
> case 'text5': // works in Squiggle, Firefox/SVG and ASVG
> element.firstChild.nodeValue = "hello";
> break;
These are the recommended
hi peter,
get and set methods (esp. getFirstChild(), getTarget(), etc.) are old
methods introduced by ASV in order to work as a plugin in NN4. they are
just outdated and that's why they do not work in FF.
andré
--
___
andre m. wi
3 matches
Mail list logo