I am trying to make images "grow" into place. The problem is that I want them to do it one by one. Right after one image grows, it refreshes the display to none on the others and I end up with only one image.
<% @i = 0 %> <script type="text/javascript> <% for picture in @pictures %>
<% @i += 1 %> <%= remote_function( :update => 'here', :url => {:action => 'show'}, :complete => visual_effect(:grow, "picture_#{@i})) %> <% end %> </script>
is what I am using right now.