[svg-developers] Re: inherit id?

2006-08-03 Thread Andreas Neumann
Hi Edith, if you use script to read out the id, you can put the event handler attribute on the group and use evt.currentTarget, which leads you directly to the group. evt.target leads you to the path triggering the event. Alternatively, as Martin suggests, you can use evt.target.parentNode wh

[svg-developers] Re: inherit id?

2006-08-03 Thread csorba_edith
Hi, Thanks Martin for the hint. The var note= evt.target.parentNode.id; works just fine. :) Cheers. Csorba --- In svg-developers@yahoogroups.com, "Martin Honnen" <[EMAIL PROTECTED]> wrote: > > --- In svg-developers@yahoogroups.com, "csorba_edith" > wrote: > > > I have a question about d

[svg-developers] Re: inherit id?

2006-08-03 Thread Martin Honnen
--- In svg-developers@yahoogroups.com, "csorba_edith" <[EMAIL PROTECTED]> wrote: > I have a question about defining id's for multiple svg features. > I have quite a few paths, and I would like to group them and display > the same Id when I move the mouse over one of the features. I.e. > > <...