Hi,
I am using Scriptaculous through RoR and still be confused with the
queue and Effect.Event.
I want to fade out a row in a table before removing it from the DOM.
I do this:
Effect.toggle("invitation_row_1",'appear',{duration:0.5,
queue:'remove'});
new Effect.Event({queue: 'remove', afterFinish:function(){
Element.remove("invitation_row_1");
}}
The row is deleted without (or before) any fading effect.
Has someone any idea why removal does not wait until effect
completion?
Cheers,
Thomas
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---