I think i have a simple problem i can''t get my brain around :)
How do i pass the arguement "story<%=story.id%>" inside the
visual_effect method?
<% for story in @stories.reverse %>
<p><%=link_to_remote ("Show Comments", :update =>
story.id, :url =>
{:action => :show_comments, :id => story}, :complete =>
visual_effect(:grow, __________, :duration => 1.0)) %>
<div id="story<%=story.id%>"
class="comments_class">
<div id="<%=story.id%>">
</div>
</div>
<% end %>
Any help would be awesome.
Thanks
--
Posted via http://www.ruby-forum.com/.