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?

On Aug 31, 5:40 pm, Rick.Wellman <rick.well...@kiewit.com> wrote:
> I am not sure why you are expecting different behavior?  You are queuing
> a fade and an appear with no mechanism to "pause" between them.  As you
> say below, it does just that.  Effects run asynchronously and begin as
> soon as you create them.
>
> -----Original Message-----
> From: prototype-scriptaculous@googlegroups.com
>
> [mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Raphael75
> Sent: Tuesday, August 31, 2010 3:16 PM
> To: Prototype & script.aculo.us
> Subject: [Proto-Scripty] can't get queues to work right
>
> I've been working on a javascript slider. It has 5 images side-by-side
> horizontally, and a timer that advances to the next image every 3
> seconds with setTimeout. All that's working fine.
>
> Z-indexed above the images is a div with text that changes every time
> the slider slides. They want this div to fade out right before the
> image slides, change the text, and fade in right after that. I tried
> putting this in right before the slider function is called:
>
> Effect.Fade('olstext', { duration: .35, queue: 'front' })
> Effect.Appear('olstext', { duration: .5, queue:'end' })
>
> and it only partially works. The text div will fade out, but then the
> text immediately fades in. I tried changing the numbers to different
> values and changing the queue position and added queue scope, but
> nothing would work. It's as if it was ignoring the queue. The text
> would fade in and the opacity would immediately go back to 0 every
> time.
>
> Any idea what I'm doing wrong?
>
> Thanks!
>
> --
> 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.

Reply via email to