most likely not a good idea.
i had some problems doing things like that, because starting an effect
stops the first one and leaves the item in some intermediate state.
seems, there can be only one active effect at all.
(maybe that's fixed in newer versions, i didn't try this for quite some
time now)
The rails javascript helpers can be handy but it's important to understand what they do.
visual_effect(...) just spits out new Effect.Something($('some_id'), ...)
so if you want 2 effects created then visual_effect(...) + ';' + visual_effect(...) will do the job.
You will need to look into the queue options (or effect.parallel in friends) if you want to play around with which one happens first, whether they run sequentially or not etc...
The rails javascript helpers can be handy but it's important to
understand what they do.
visual_effect(...) just spits out new Effect.Something($
('some_id'), ...)
so if you want 2 effects created then visual_effect(...) + ';' +
visual_effect(...) will do the job.
Fred
Thanks, that was the exact answer I was looking for