Wow, great work Ken, I'm all for it. The mootools library contains this exact implementation. I also translated it into prototype, but then I realized I could get my desired behavior much more easily - with one if statement - this is really why I love prototype. It has that same feel as Ruby - it works for you. If something seems complicated, it's not prototype, it's you ;)
That being said, it would be nice not to reinvent the wheel and to make this behavior easily accessible. sudara ps. It would be nice to see a prototype-only tips-and-tricks user content site. I want to see all the pretty things that people are making with it, best practices, etc. Any good places to visit? On May 14, 5:57 am, Ken Snyder <[EMAIL PROTECTED]> wrote: > Jerod Venema wrote: > > Anyone have any thoughts on adding a function like that to the > > "simulated" area of prototype as mouseenter/mouseleave events (such as > > the ones IE has natively)? It'd be handy to have a cross-browser > > implementation of those events. I'm not sure what it would take to > > simulate events as opposed to properties or functions, but that would > > definitely be neat... > > > -Jerod > > I've now submitted a patch (http://dev.rubyonrails.org/ticket/8354). > We'll see what the Core Prototype team says. > > --Ken Snyder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
