bloody hell.
I swear I did this the other day and had the same issue of it executing the link, not the event - I'll chalk this up to cacheing issues on the server (*cough* *cough*). Thanks for pointing out the obvious! -keif Nathan White wrote: > > you could use cloneEvents > > anchor.clone().cloneEvents(anchor) > > On Fri, Sep 19, 2008 at 12:09 AM, keif <[EMAIL PROTECTED]> wrote: > >> >> >> No code - this is just problems/theory. >> >> I.E. Multibox: >> http://www.phatfusion.net/multibox/ >> >> We associate it with a class (class name = mb). >> >> I can have an anchor tag on the page get picked up by it, but it seems if >> I >> clone that anchor tag, I lose that call to multibox. >> >> Do I need to reinitialize multibox on every clone, so if I do >> anchor.clone().inject(whereIWantIt); I need to then reinit a new Multibox >> call? >> >> I've consistently ran into this problem - I can move that anchor around, >> I >> just can't clone it. >> -- >> View this message in context: >> http://n2.nabble.com/Cloning-an-event%2C-keeping-the-associated-script-calls.-tp1100046p1100046.html >> Sent from the MooTools Users mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://n2.nabble.com/Cloning-an-event%2C-keeping-the-associated-script-calls.-tp1100046p1101550.html Sent from the MooTools Users mailing list archive at Nabble.com.
