I have done exactly that in my dragdrop.js (warning, highly modified)...

To use that method in my file, set both "ghosting" and "floating" (my 
proprietary option) to true. Then when you start dragging, it clones the 
element and attaches it at the document level.

Use at your own risk. (attached without the ".js" extension to get past company 
email filter)

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Julian Dreißig
Sent: Tuesday, March 07, 2006 3:09 PM
To: rails-spinoffs@lists.rubyonrails.org
Subject: [Rails-spinoffs] Sortables/Draggables and overflow

If the containing element has it's overflow property set to anything but 
"visible" and I try to drag something out of the list, the draggables 
are dragged underneath the "border" ( the hidden area of the container) 
and thus become partly or completely invisible. Any ideas to prevent 
this from happening?

I think, a future solution might be to immediately (on startDrag) detach 
the draggable element from its container and attach it to something like 
body, but that would involve a lot of changes, I guess.

Thanks,
- Julian

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs


The information transmitted in this electronic mail is intended only for the
person or entity to which it is addressed and may contain confidential,
proprietary, and/or privileged material.  Any review, retransmission, 
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from all computers.

Attachment: dragdrop
Description: dragdrop

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to