visual effect for the div

Ravi Dtv
2010-05-20T03:09:51Z

Hi

In a partial,

I display "group_name" , when clicked on groupname the div with
id="abc"
should appear below my group.

 I want to make my div visible false initially at the time of loading my
page and Once click on the groupname I the div should be visible below
the groupname.

I tried with follwing  code. But I div is visible every time and only
the visual_effect is applying to the first grouname only.

Please help. Thanks.




<%= link_to_function user.group_name,
visual_effect(:grow,"abc",:direction =>
"center",:duration => 1) , {
:controller => "users" ,:action => "grouplist" } %>












  <% @currentgroupfriends.each do |user| %>
<%= user.login
%>
          <% end %>




thank you
--
Posted via http://www.ruby-forum.com/.

--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at