Is there a way to clone an element, so that it leaves a copy of itself from its point of origin when its dragged to another sortable list? Thanks for hints! harald -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
ryan.bentz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Mar-07 19:39 UTC
Re: script.aculo.us Sortable leave copy
I believe this would be taken care of by setting the ghosting parameter to true in the Sortable.create method call. Check here: http://wiki.script.aculo.us/scriptaculous/show/Sortable.create Is that what you''re talking about? Ryan On Mar 7, 10:37 am, bugfix <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Is there a way to clone an element, so that it leaves a copy of itself > from its point of origin when it''s dragged to another sortable list? > > Thanks for hints! > harald > > -- > Posted viahttp://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-/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 -~----------~----~----~----~------~----~------~--~---
ryan.bentz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> Is that what you''re talking about? >This isn''t the solution, I think. Ghosting makes a clone, but when the drag ends, the clone will disappear. I''m searching for a solution for this problem, too, but havn''t an answer yet. Pascal -- 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-/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 -~----------~----~----~----~------~----~------~--~---
Ah this has been driving me crazy for weeks. I found a forum post somewhere that in ruby on rails spinoffs that suggested creating a droppable on the element then creating the sortable on top, but I had little luck with that method. I''m digging through the code now I''m bound and determined to make it work. Has anyone seen another framework that can do this? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---