My .rjs file
page.visual_effect :BlindUp, "people", :queue =>
''front'' #first action
page.replace_html "people", :partial =>
''person/person_compressed'',
:collection => @search_results , :queue => ''end''
#second action, after
first is done
page.visual_effect :BlindDown, "people" , :queue =>
''end'' #third
action, after second is done
I want it to BlindUp, replace the div, and then BlindDown the div with
its new content. Instead it BlindsUp first and then BlindsDown/replaces
the div pretty much at the same time. I need three things to happen in
order and ''front'' and ''end'' only let me set
the order for two things.
My reference so far has been
http://blog.railsdevelopment.com/pages/effect/queue/
It talks about using :scope with :queue. I tried changing all the
:queue in the above example to :queue => {:scope=>
''myscope''}
hoping that this would set up my queue but that did not appear to work.
Any help is greatly appreciated.
Matthew Margolis
blog.mattmargolis.net