【发布时间】:2009-05-27 05:51:03
【问题描述】:
假设我想对这些 JS 调用进行排队,这可以通过 Rails 助手来完成吗?
render :update do |page|
page.replace_html replace_html 'notice', flash[:notice]
page.visual_effect :blind_down, "notice", :duration => 0.5
page.visual_effect :blind_up, "notice", :duration => 0.5
end
谢谢。
【问题讨论】: