george.smyth-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Sep-10 13:21 UTC
Mixing script.aculo.us with JavaScript
I would like to fade an image out, change it, then fade it back in. I am using Effect.Opacity which works fine in the queue, however the result shows the image changing as it fades out. Is there any way to place the source assignment in the queue so that it happens after the image has faded out? Cheers - george --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
You''ll want the afterFinish callback. http://wiki.script.aculo.us/scriptaculous/show/CoreEffects TAG On Sep 10, 2007, at 7:21 AM, george.smyth-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> > I would like to fade an image out, change it, then fade it back in. I > am using Effect.Opacity which works fine in the queue, however the > result shows the image changing as it fades out. > > Is there any way to place the source assignment in the queue so that > it happens after the image has faded out? > > Cheers - > > george > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Excellent, thanks for the link. Cheers - george On Sep 10, 10:06 am, Tom Gregory <t...-PGZyUNKar/Q@public.gmane.org> wrote:> You''ll want the afterFinish callback. > > http://wiki.script.aculo.us/scriptaculous/show/CoreEffects > > TAG > > On Sep 10, 2007, at 7:21 AM, george.sm...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > > > > > I would like to fade an image out, change it, then fade it back in. I > > am using Effect.Opacity which works fine in the queue, however the > > result shows the image changing as it fades out. > > > Is there any way to place the source assignment in the queue so that > > it happens after the image has faded out? > > > Cheers - > > > george--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---