It's a pretty common question that isn't handled well in the docs. If documentation existed, it would be here: http://wiki.script.aculo.us/scriptaculous/show/EffectQueues
There was a great post at the rails development blog that doesn't seem to be accessible any more. Here's a link to the Google cached version: http://72.14.253.104/search? q=cache:gZkPKp5PJsYJ:www.railsdevelopment.com/2006/01/15/effectqueue/ +script.aculo.us+effect+queues&hl=en&strip=1 The short answer is: function ChangePics() { Effect.toggle('d1','appear'); Effect.toggle('d2','appear', {queue: 'end'}); } TAG On Feb 21, 2007, at 3:02 AM, James Hatridge wrote: > > Hi all... > > I have this function, > > function ChangePics() { > Effect.toggle('d1','appear'); > Effect.toggle('d2','appear'); > } > > How can I get it to do one after the other, not at the same time? > > Thanks, > > JIM > -- > Jim Hatridge > Linux User #88484 > > ------------------------------------------------------ > WartHog Bulletin > Info about new German Stamps > http://www.WartHogBulletin.de > > Many Enemies -- Much Honor! > Anti-US Propaganda stamp collection > http://www.manyenemies-muchhonor.info > > An American in Bavaria > http://www.gaubodengalerie.de > > > --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---