Thanks Thomas and Andreas,
a reapply of getParentElement().appendChild(theElement) works fine to bring theElement to top.
But why is a previous removeChild() unnecessary ?
Is the parent element so clever to make a "reappend" only ?
Maik


Andreas Neumann schrieb:
Hi,

http://www.carto.net/papers/svg/manipulating_svg_with_dom_ecmascript/ is a tutorial with small examples on manipulating the DOM. Amongst others it also discusses reordering of elements.

The examples where tested with Batik and Adobe SVG viewer.

Andreas

Maik Sch�rer wrote:

Hi there,
I have several overlapped elements on my canvas.
How can I one of these to the foreground (on top of all) ?
Maik


--------------------------------------------------------------------- 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