Hello Guys,
I'd like to execute an action after the queue has finished, but I not found
any way to do this in API of aculo.us, if anyone can help me.
My code:
var first_line = $$('#table-form tr:nth-child(4)')[0];
var second_line = $$('#table-form tr:nth-child(3)')[0];
Effect.DropOut(first_line , {queue: 'front', limit: 2, scope: 'remove'});
Effect.DropOut(second_line , {queue: 'front', limit: 2, scope: 'remove'});
first_line.remove();
second_line.remove();
I am removing those lines of the DOM, but in fact this should happen after
the effects has finished, not during or before as it happens.
Thank's since now.
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/prototype-scriptaculous.
For more options, visit https://groups.google.com/d/optout.