On Dec 18, 5:51 pm, Walter Lee Davis <wa...@wdstudio.com> wrote:
> I use this construction quite a lot:
>         var elm = evt.element();
>         if(elm.tagName.toString().toLowerCase() != 'td') elm = elm.up('td');
> whenever I am constructing a rollover listener, since it works around  
> the whole issue with mouseover / out events firing whenever you move  
> over a child of the element you're trying to observe. Is there a  
> simpler way to do this, a more Prototype-y way, that is? I've had a  
> look around the API, and I also had a Google, but the former didn't  
> turn up anything useful and the latter turned up every commit message  
> from every project that includes Prototype.
I belive that is what Element.findElement is for.



You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to