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.
>
>

Reply via email to