Have you considered holding your breath until your users implement SVG1.1, 
which supports text wrapping and textboxes?

ASV6 (which is a preview release only) supports this, and so do Bitflash and 
Batik. Not sure about Mozilla and Konqueror native SVG implementations, but I 
suspect they also support it...

Building this complicated functionality around ASV3.01 seems to be the long, 
hard way to go at this point in time (even though I realize that ASV3.01 is 
the proven, widely distributed implementation).

Of course, if you only care about ASV users,then this is not an issue...

Cheers,

Ronan

On Sunday 24 April 2005 10:22, tangdm wrote:
> Hi All,
>
> I am sorry I have to post the same question again because I stuck in
> here for two weeks and the task's deadline is in next week.
>
> My problem is text wrapping.  I need to retrieve attribute values
> and display the data on svg map when a map element is clicked.
>
> To do this, I created a text:wrap element in svg script, then tried
> to overwrite it by javascript program. The code is:
>
> svg:
>        <text:wrap  id="comments" x="590" y="490" width="410"
>                    style="font-family: arial;
>                           fill:red;
>                           font-size: 15px;
>                           text-align: justify;
>                    line-interval: 1.2em">my text</text:wrap>
> javascript code:
>
>         svgDoc.getElementById("comments").firstChild.nodeValue="the
> new text";
>
> Both of "my text" and "the new text" can be wrapped,  but instead of
> replacing old text( this is what I want), "the new text" overlaps
> old ones.
>
> Please give me a hand. Your help will be greatly appreciated.
>
> Spring
>
>
>
>
>
>
>
> -----
> To unsubscribe send a message to:
> [EMAIL PROTECTED] -or-
> visit http://groups.yahoo.com/group/svg-developers and click "edit my
> membership" ----
> Yahoo! Groups Links
>
>
>

-- 
Conversation, n.:
        A vocal competition in which the one who is catching his breath
is called the listener.

 --> contact me: ronan at roasp dot com


-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to