[Prototype-core] Re: mouseleave and mouseenter

2008-10-01 Thread [EMAIL PROTECTED]
here's a version that uses custom events: http://neverninetofive.com/mouseenterleave/ Nick, hope you don't mind, i borrowed your testing template. On Sep 21, 12:59 pm, Nick Stakenburg [EMAIL PROTECTED] wrote: That will probably give you some problems with textarea's and input elements. I've

[Prototype-core] Re: mouseleave and mouseenter

2008-10-01 Thread Nick Stakenburg
On 1 okt, 19:15, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: here's a version that uses custom events:http://neverninetofive.com/mouseenterleave/ Calling invoke('observe') and invoke('stopObserving') like that is overkill. The patch I've posted is much easier on the browser since it observes

[Prototype-core] Re: mouseleave and mouseenter

2008-09-19 Thread Julien
Element.addMethods({ onmouseenter: function(element,observer) { element = $(element); element.observe('mouseover', function(evt,currentTarget) { var