It was supposed to start at 100% opacity, then fade out to 0%, then change the text, then fade in to 100%. But what I saw on screen seemed to indicate that the Fade and Appear were being processed at the same time, even if I used queue:'front' and queue: 'end'.
On Sep 1, 10:14 am, Rick.Wellman <rick.well...@kiewit.com> wrote: > Glad you got it "working" but FWIW, > Your understanding of the queues seems to be ok but something must be lost in > the translation... is the Appear beginning *before* the Fade finishes if you > use the queue? Your original message states that it Fades (and I read that > to mean that the Fade completes) and then Appears. Unless something has > changed in the library, afterFinish is fine but the queues were written for > exactly this case. > > -----Original Message----- > From: prototype-scriptaculous@googlegroups.com > [mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Raphael75 > Sent: Wednesday, September 01, 2010 8:43 AM > To: Prototype & script.aculo.us > Subject: [Proto-Scripty] Re: can't get queues to work right > > Thank you. I thought about trying that but I thought the queue was > supposed to do the same thing. It's ok, you solved it. :) > > On Sep 1, 8:56 am, Peter De Berdt <peter.de.be...@pandora.be> wrote: > > On 01 Sep 2010, at 14:34, Raphael75 wrote: > > > > But isn't the queue supposed to handle that? I inserted the Fade first > > > (queue: 'front') and then the Appear (queue: 'end'). Isn't that right? > > > Or is there some other way to have the Appear wait to start until the > > > Fade is finished? > > > Use the afterFinish callback like so: > > > var olstext = $('olstext'); > > olstext.fade({duration: 0.35, afterFinish: function() > > { olstext.update("Some new text"); olstext.appear({duration: 0.5}); }}); > > > Best regards > > > Peter De Berdt > > -- > 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 prototype-scriptacul...@googlegroups.com. > To unsubscribe from this group, send email to > prototype-scriptaculous+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/prototype-scriptaculous?hl=en. -- 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 prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.