Hello Thomas
Following the list, I had already learned about that technique and attempted to implement it. However, once the rectangle was in place, it seemed that none of the "underlying" elements received any events any longer. [...] I believe I could fix this by inserting the rectangle as the first child of the root SVG element. Correct?

   Correct, right now the rect is 'on top' of everything so all events
are delivered to it.  If you make it the first child of the SVG element,
then it will be 'below' everything and it will only receive events if
they 'fall through' all the other elements in the document.
I did that, but things still aren't right.
Some events get through: I can register mouseup/mousedown and click events, as well as mousemove. Mouseout and mouseover events, which are unfortunately crucial to the (current) workings of the document, are not triggered. (If everything else fails, I could rewrite both mouseup- and mousedown- as mousemove-listeners.)

This is the outline of my document:
<svg>
<defs>
<symbol/> ##defines the polygons from which I want to receive pointer events
</defs>
<g> ##group that contains the rest of the document bundled in groups.
  ... ##visible content
 </g>
</svg>

I have tried inserting the rectangle both behind and after the <defs> element,
even as the first element inside the main group, but the problem persists.
All listeners I spoke about are added to the <g>-elements containing the <use>-references
to the polygon symbols via the Java API.

Is there another trap I could have stumbled into?

Thanks for your help, and thanks for clearing up the fill-issue. It works like a charm now.
-Urs

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

Reply via email to