Ya, I guess it's more of performance issue? As I read from Simon
Willison's blog:
http://simonwillison.net/2008/Dec/23/live/
If then, say if I do this:
$$('div a').delegate('click', function(){alert('you clicked a link!');.. then probably could delegate the event to the 'div' element instead
});
of all the way to document.body :P
On Dec 24, 2:08 pm, ibolmo <Olmo.Maldon...@...> wrote:
> Not necessarily. Especially if you have a hierarchy of delegation. (oh
> wait.. but that's what DOM bubbling is all about).
>
> On Dec 23, 7:49 pm, cheeaun <chee...@...> wrote:
Theres nothing new in this. I think anyone with significant JS code
will be using some or other "delegation" scheme, some with more
features than the implemented referenced above.
Whether it should be integrated into Mootools is of course Mootools
Dev Team's decision, but *personally*, I dont think its very important
to have it in mootools core, and I wouldn't use it either, since its
missing an important piece (for me), i.e., named behaviours that can
be turned off or on.
Regards
Rajeev J Sebastian
Btw, in Chrome, i get the tooltop on the LEFT side of the box, while
firefox displays it on the right (which is the way it's supposed to
be?).
On Dec 25, 12:56 am, nutron <anut...@...> wrote:
> FYI, I've taken down my delegation plugin for now. Here's a post about why.
> I'd really appreciate feedback.http://www.clientcide.com/code-releases/thoughts-on-element-delegation/
>
> On Wed, Dec 24, 2008 at 9:37 AM, Rajeev J Sebastian (via Nabble) <
> > To unsubscribe from MooTools Users, click here< (link removed) >.
>
> -----
> The MooTools Tutorial: http://www.mootorial.comwww.mootorial.com
> Clientcide: http://www.clientcide.comwww.clientcide.com
> --
> View this message in context:http://n2.nabble.com/New-Clientcide-plugins%3A-pointy-things%2C-event...
> Sent from the MooTools Users mailing list archive at Nabble.com.
My bad, it's the delegate demo link that doesnt work:
http://www.clientcide.com/wiki/cnet-libraries/04-element/0.1-element.delegate
> Aaron,
>
> The link for the pointy tooltip demo does not exist:http://www.clientcide.com/code-releases/loads-of-new-plugins-pointyti...
> Click the demo link, and you get a does not exist page...
>
> On Dec 25, 12:56 am, nutron <anut...@...> wrote:
>
> > FYI, I've taken down my delegation plugin for now. Here's a post about why.
> > I'd really appreciate feedback.http://www.clientcide.com/code-releases/thoughts-on-element-delegation/
>
> > On Wed, Dec 24, 2008 at 9:37 AM, Rajeev J Sebastian (via Nabble) <
> > > To unsubscribe from MooTools Users, click here< (link removed) >.
>
> > -----
> > The MooTools Tutorial: http://www.mootorial.comwww.mootorial.com
> > Clientcide: http://www.clientcide.comwww.clientcide.com
> > --
> > View this message in context:http://n2.nabble.com/New-Clientcide-plugins%3A-pointy-things%2C-event...
> > Sent from the MooTools Users mailing list archive at Nabble.com.
My bad, it's the delegate demo link that doesnt work:
http://www.clientcide.com/wiki/cnet-libraries/04-element/0.1-element.delegate
> Aaron,
>
> The link for the pointy tooltip demo does not exist:http://www.clientcide.com/code-releases/loads-of-new-plugins-pointyti...
> Click the demo link, and you get a does not exist page...
>
> On Dec 25, 12:56 am, nutron <anut...@...> wrote:
>
> > FYI, I've taken down my delegation plugin for now. Here's a post about why.
> > I'd really appreciate feedback.http://www.clientcide.com/code-releases/thoughts-on-element-delegation/
>
> > On Wed, Dec 24, 2008 at 9:37 AM, Rajeev J Sebastian (via Nabble) <
> > > To unsubscribe from MooTools Users, click here< (link removed) >.
>
> > -----
> > The MooTools Tutorial: http://www.mootorial.comwww.mootorial.com
> > Clientcide: http://www.clientcide.comwww.clientcide.com
> > --
> > View this message in context:http://n2.nabble.com/New-Clientcide-plugins%3A-pointy-things%2C-event...
> > Sent from the MooTools Users mailing list archive at Nabble.com.