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.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---