You could define a class with the yellow border in your CSS then use
Element.addClassName(''whatever'') in the onDrag event.
On Feb 29, 11:55 am, Tarscher
<tarsc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Hi all,
>
> Users are apointed to different groups. Users can be drag and dropped
> around these different groups. A group is a DIV containig a list of
> users (if present).
>
> When the admin picks up a user to drag to another group I want to
> highlight the div (dropzones) with a yellow border.
>
> I tried:
> <%= draggable_element "user_3", :revert => true, :ghosting
=>
> true, :option => { :onDrag =>
"Element.hide(''name_user_1_3'')" } %>
>
> Where I try to hide user 1_3 but this fails.
>
> Someone knows how to handle this?
>
> Thanks
> Stijn
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---