I must do: .... Effect.Fade(DIV_ELEMENT_1); Effect.Fade(DIV_ELEMENT_2); Effect.Fade(DIV_ELEMENT_3); Effect.Fade(DIV_ELEMENT_4); ... but I want that the effects happens sequentially, in other words I want that the fade effect for DIV_ELEMENT_2 starts when the DIV_ELEMENT_1 is completely vanish and so on for third and fourth divs. How can do this? Thanks. Lorenzo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I think you should take a look at the queue! http://wiki.script.aculo.us/scriptaculous/show/EffectQueues :) On Dec 6, 2007 11:44 AM, lodecesa <lorenzo.decesare-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I must do: > > .... > Effect.Fade(DIV_ELEMENT_1); > Effect.Fade(DIV_ELEMENT_2); > Effect.Fade(DIV_ELEMENT_3); > Effect.Fade(DIV_ELEMENT_4); > ... > > but I want that the effects happens sequentially, in other words I > want that the fade effect for DIV_ELEMENT_2 starts when the > DIV_ELEMENT_1 is completely vanish and so on for third and fourth > divs. > > How can do this? > > Thanks. > Lorenzo > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Thanks! Lorenzo PS - Grazie Antò :) On 6 Dic, 14:18, "Antonio CS" <antoni...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I think you should take a look at the queue! > > http://wiki.script.aculo.us/scriptaculous/show/EffectQueues > > :) > > On Dec 6, 2007 11:44 AM, lodecesa <lorenzo.deces...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > I must do: > > > .... > > Effect.Fade(DIV_ELEMENT_1); > > Effect.Fade(DIV_ELEMENT_2); > > Effect.Fade(DIV_ELEMENT_3); > > Effect.Fade(DIV_ELEMENT_4); > > ... > > > but I want that the effects happens sequentially, in other words I > > want that the fade effect for DIV_ELEMENT_2 starts when the > > DIV_ELEMENT_1 is completely vanish and so on for third and fourth > > divs. > > > How can do this? > > > Thanks. > > Lorenzo--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---