Thanks for your help. I added the script after MooTools load and
before my domcontentloaded. It didn't do the job. :/ I surely missed
something.

On 10 sep, 17:14, Slik Jay <[email protected]> wrote:
> I wrote small plugin for mootools more's delegation
>
> http://jsfiddle.net/slik/vMeNG/
>
>
>
> On Fri, Sep 10, 2010 at 6:09 PM, Savageman <[email protected]> wrote:
> > Hello,
>
> > I would like to delegate some custom events. Is that possible?
>
> > I have something like that:
>
> > var $main = document.id('main');
> > $main.addEvent('custom:relay(.class)', myFunction);
> > $main.getElements('.class').fireEvent('cutom');
>
> > The array $main.getElements is not empty, but my function doesn't
> > trigger. Any help appreciated. :-)

Reply via email to