Hi again, Is it possible to make a visual effect on a draggable element
when it is dropped?
I''ve tried this:
<ul id="team_players">
<% for player in @team.players %>
<li id="player_<%= player.id %>"><%= player.name
%></li>
<%= draggable_element "player_#{player.id}",
:revert => true,
:endeffect => visual_effect(:highlight,
"player_#{player.id}", :duration => 3) %>
<% end %>
</ul>
But with :endeffect param elements can''t be dragged. When I remove this
param elements are
draggable but I need a way to mark an element as being dropped.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---