Also, you could use the following... I assume either this technique or the queue method has their own advantages depending on the situation, but I'm just showing you this since it seems you may not be aware that it exists.
function bla() { Effect.Appear('some_element', { afterFinish: function() { Effect.Appear('some_other_element'); } }); } -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Zülke Sent: Tuesday, February 21, 2006 6:44 AM To: rails-spinoffs@lists.rubyonrails.org Subject: Re: [Rails-spinoffs] non simultaneous effects http://www.railsdevelopment.com/2006/01/15/effectqueue/ - David Am 21.02.2006 um 13:40 schrieb Jeroen Verhagen: > Hi all, > > If I call this function bla: > > function bla() { > Effect.Appear('some_element'); > Effect.Appear('some_other_element'); > } > > Both effect happen at the same time. Is there a way to stop this from > happening? I mean, how can I delay the effect on 'some_other_element' > from happening until the effect on 'some_element' is finished? > > thanks and regards, > > Jeroen > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs The information transmitted in this electronic mail is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs