Hi,
Just trigger them at the same time, the effects will run in parallel:
Effect.BlindDown("div1");
Effect.BlindDown("div2");
Alternately, you might look at Effect.Parallel[1], which runs effects
in parallel in an organized way and allows you to specify options to
apply to all of them. Example[2]
[1] http://madrobby.github.com/scriptaculous/effect-parallel/
[2] http://jsbin.com/ozifoy
--
T.J. Crowder
Independent Software Engineer
tj / crowder software / com
www / crowder software / com
On Aug 6, 12:34 pm, donalduck <[email protected]> wrote:
> Greetings
>
> How can I trigger the blind effect on 2 completely different
> HTMLdivElements simultaneously with 1 single click ?
>
> 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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.