"""Hans Marmolin писал(а): """
I have tried to find an example of how to script parallel visual effects in Rails using RJS, but have not been able to find any relevant code examples
I have looked at available references and tried expressions as page.parallel_effects do page.visual_effect('highlight', 'move_id') page.visual_effect('fade', 'move_id') end
and
page.visual_effect('Parallel', [visual_effect("highlight" ,"move_id"), visual_effect("move", "move_id",{:x => 100, :y => 150}),])
and some other variations of these expressions.
but they are all incorrect.
Can anyone give me a Rails RJS code example of how to script parallel visual effects,and I also need an example of how to script serial effects
-- Posted via http://www.ruby-forum.com/.
read about Effect.queue http://blog.railsdevelopment.com/pages/effect/queue/