I think that the SVG API is lacking something like PostScript's insideness 
testing operators[1] (7.4 MiB PDF) that tell you whether a point lies inside a 
path or whether two paths intersect.  (In SVG, this shouldn't be restricted to 
paths, of course.)

Thomas W.


[1] http://www.adobe.com/products/postscript/pdfs/PLRM.pdf#page=534



--- In [email protected], "scalablev" <svg@...> wrote:
>
> I never found a good solution for this. Suggestions, anyone? Please let me 
> know.
> 
> --- In [email protected], "scalablev" <svg@> wrote:
> >
> > I need to make a tooltip based on all elements below the mouse pointer, not 
> > just the top-most. What's the best cross-browser way to do this?
> > 
> > Here's an example that works in ASV: Hover over the smallest rectangle, and 
> > the script "diggs" through the overlapping elements by setting the 
> > pointer-events to none, one by one: 
> > http://kart.nois.no/pub/oye/ie9/events.svg
> > 
> > Other implementations don't fire the mouseover-event for the bottom 
> > elements when the pointer-events are removed from the top (unless the 
> > pointer is moved), so that breaks my current code. Any suggestions to work 
> > around this? I've had a look at http://www.carto.net/svg/eventhandling, but 
> > I'm not sure if any of that can be used.
> >
>




------------------------------------

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

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