Queueing page.hide / non effects

How do I queue non effects in an effect queue? Example:

page.visual_effect(:fade, “content”, {:queue => {:scope => “content”,
:position => “end”}})

I want page.show(“content”) to happen after the visual effect completes.
Also, I already know about the :after_update callback, but I have a more
complex example in my app and the :after_update callback does not work
because I am not sure which effect is the last element in the queue.

Thanks for your help.

not sure if this would work winthin a rails helper, but give it a try.

page.visual_effect(:fade, “content”, { :afterFinish => “function() {
Element.show(‘content’) }” })