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
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
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
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?
[email protected] 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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs