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: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org]
On Behalf Of Julian Dreißig
Sent: Tuesday, March 07, 2006 3:09 PM
To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.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-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.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.
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs