from the after finish you could use a window.settimeout to call the initial
function that started the queue again?
you'd have to use the window settimeout or you would potentially get into a
very deep recursion if it was left running for a long time.


On 5/3/07, bovineaux <[EMAIL PROTECTED]> wrote:
>
>
> Given a queue of effects, is it possible to set that queue to loop
> indefinitely? If so, how?
>
> I have an effect queue of:
>
> - Appear element A
> - Fade element A
> - Appear element B
> - Fade element B
> - Appear element C
> - Fade element C
> - (etc.)
>
> All effects are assigned to a custom queue. The effect runs fine and
> the results as intended for one complete sequence, but I need to
> somehow restart the sequence.
>
> It would be great if I could set a flag or call a method on the queue
> somehow that instructs it to loop after the last effect has finished.
> But if I need to re-create the queue at the end each time, then so be
> it - I'll look into that.
>
> TIA,
> bovineaux
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to