Thomas Fuchs
Hi, I'm Thomas Fuchs. I'm the author of Zepto.js, of script.aculo.us, and I'm a Ruby on Rails core alumnus. With Amy Hoy I'm building cheerful software, like Noko Time Tracking and Every Time Zone and write books like Retinafy.me.
   Want me to speak at your conference? Contact me!

Scoped effect queues explained

January 21st, 2006

Abdur-Rahman Advany explains all about the visual effects queues of script.aculo.us and what sort of things you can achieve with them.

The short story is: You can create complete timelines of effects, with more than one scope (that’s what we call a “track” in script.aculo.us). This allows to do some neat trickery, like queuing effects up until other effects are finished, or limiting the number of effects that can occur in a scope (for example to prevent users from hitting a button 10 times because the effect looks so nice and breaking things by doing so).

So, if you’re using visual effects and want to have more control over them read the article.

(There are other articles coming up on Abdur-Rahman’s site on even more aspects of the script.aculo.us visual effects, please keep it up!)