Hi,

Good point.  I'd tend rather see an "Event Delegation" How To article
(or a tip pointing to an existing article), and probably mention it
(with link) in the more basic event hooking How To.  But by all means,
either way, jump in! ;-)
--
T.J. Crowder
tj / crowder software / com

On Oct 9, 7:22 am, erlando <[EMAIL PROTECTED]> wrote:
> In light of Christophe's talks at the Ajax Experience shouldn't this
> example use event delegation instead?
>
> /Søren
>
> On Oct 8, 2:32 pm, "Richard Quadling" <[EMAIL PROTECTED]>
> wrote:
>
> > 2008/10/8 Richard Quadling <[EMAIL PROTECTED]>:
>
> > > 2008/10/8 T.J. Crowder <[EMAIL PROTECTED]>:
>
> > >> Sorry, fixing the subject line -- I seem to have left off an important
> > >> bit!
>
> > >> -- T.J. :-)
>
> > > Seems you need higher permissions to edit!
>
> > > "Permission error
> > > Oooops!
>
> > > Sorry, you can not edit this page. Only members of this site, site
> > > administrators and perhaps selected moderators are allowed to."
>
> > > --
> > > -----
> > > Richard Quadling
> > > Zend Certified Engineer :http://zend.com/zce.php?c=ZEND002498&r=213474731
> > > "Standing on the shoulders of some very clever giants!"
>
> > And I've got an account.
>
> > Would like to edit the complex example 
> > onhttp://proto-scripty.wikidot.com/prototype:howto-hooking-eventstouse
> > invoke ...
>
> > function init()
> > {
> >     $$('div.clickable').invoke('observe','click', divClicked);
>
> > }
>
> > which simply looks a lot nicer and removes the clutter of the iterator.
>
> > --
> > -----
> > Richard Quadling
> > Zend Certified Engineer :http://zend.com/zce.php?c=ZEND002498&r=213474731
> > "Standing on the shoulders of some very clever giants!"
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to