Scheit Christoph wrote:

I'm using a walker and try to add to every rectangle in my Dom-Tree a tooltip... But it's not working. Do I miss something?

No it's what I thought we only look for title/desc when the document is first loaded. It's actually pretty easy to support adding them dynamically, but removing them is a little tricker ;)

   So one option is to add the desc elements before you associate
the document with the canvas (if you are using setURI currently you
can use the SVGDocumentFactory to create the document for you
and then add your rectangles and then call setSVGDocument to
associate the document with the canvas instead).

   The other option is to make the tooltips yourself using
SVG and Java/Javascript.  I think there are a few examples
floating around the net.

   Or you can wait until I have it working (which may be a little
while).

    That said I don't know for certain if this will work, it is
possible that our title/desc analysis is done only when the
document is loaded (which would be a bug).  If it is the case
it shouldn't be a particularly hard bug to fix.



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to