Works the same as jQuery--you can't. It's not about scaling and maintaining, it's about changing the way that you write JavaScript.
Sent from my iPhone On Nov 7, 2010, at 1:41 AM, ibolmo <[email protected]> wrote: > Nice, but how would you remove the event? :) (disclosure: i'm not > familiar with jquery's toggle) > > On Nov 1, 7:46 am, Ryan Florence <[email protected]> wrote: >> http://jsfiddle.net/rpflorence/ZHgZK/ >> >> On Oct 31, 2010, at 8:15 PM, Rainbow wrote: >> >> >> >> >> >> >> >>> mootools toggle(fn,fn) How does it work? >> >>> like jquery toggle(fn,fn)。 >> >>> Element.implement();
