[Proto-Scripty] Re: Question regarding Element.observe and Element.stopObserving

2008-10-02 Thread puckpuck
This exact question was asked today at TAE. At this time, no. stopObserving will not go through the children of the container and remove events. In the future it is certainly possible. Mind you it wouldn't be very difficult to write your own method to recurse through all the children of a give

[Proto-Scripty] Re: Dropdownmenu and observe

2008-10-02 Thread puckpuck
$('menu_home').observe('mouseover', dropdown('submenu_home')); $('menu_home').observe('mouseout', dropdown('submenu_home')); These 2 lines are your offensive lines of code. Try this instead: $('menu_home').observe('mouseover', dropdown.curry('submenu_home')); $('menu_home').obse

[Proto-Scripty] Re: Question regarding Element.observe and Element.stopObserving

2008-10-02 Thread puckpuck
 am, "Lea Hayes" <[EMAIL PROTECTED]> wrote: > Hi puckpuck!, > > That's a really handy little snippet, so much simpler than manually > enumerating nested HTML elements and stopping them individually (which > I have previously done). > > If this functionali

[Proto-Scripty] Re: Unoffiicial Prototype & script.aculo.us wiki

2008-10-08 Thread puckpuck
Given the recent blog post from the prototype core, is this wiki going to be endorsed by the core? We don't need them specifically to be controlling it, as the whole notion of a wiki is community contribution, but this is very long overdue, and I fear that unless you get core support, it will fal