Hi austenc,

you should have to handle that yourself, by saving the current effectS
you used in the accordian and if another effect should be launch, test
the variable and use the cancel() function of scriptaculous Effects
before launching the new Effect.
Be sure on the afterFinish Callback to reset the variable where you
save the Effect.


On 26 mai, 22:56, austenc <austen.came...@gmail.com> wrote:
> Hi there, I've got an accordian style toggle script going, but i just
> found a bug. if you click one of the links again right after clicking
> it (while the Effect is still going), it makes the division disappear,
> or close.
> It's happening because my script is trying to start an Effect before
> the first effect is finished.
> Sooooo, my question is... is there a way to tell if no Effects are
> currently going?
> something like:
> if(!Effects.going){
> //try to run other effect here.
> }
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-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to