How to use visual_effect on DOM after loading the page?

Posted by Acidburn2k on Stack Overflow See other posts from Stack Overflow or by Acidburn2k
Published on 2010-03-27T21:42:06Z Indexed on 2010/03/27 21:53 UTC
Read the original article Hit count: 306

Filed under:
|
|
|

I would like to make one of the div's hidden while rendring. After page is loaded I would like it to appear on the page using virtual_effect.

I know how to do it in JS / jQuery. Is that possible with pure Ruby code using Prototype?

update_page_tag doesn't really solves the problem It work ok with :highligth, but I can't get it to work with :apper or :slide_down.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about AJAX