Glennmac-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Nov-28 20:46 UTC
Drag/Drop from overflow: auto
Hi All,
I am new to scriptaculous, but like that I have seen so far. Great
work. Anyway I am having difficulty getting my drag/drop situation
working. I have a page with 2 div''s, one is position absolute with a
fixed width and height. The other is also position absolute and
starting at the width if the first div.
------------------------------------------------------------------------------------------
| |
|
| DIV 1 |
|
| |
|
| |
|
| | DIV 2
|
| | --- D3
|
| |
|
| |
|
| |
|
| |
|
------------------------------------------------------------------------------------------
So you can see that DIV 2 starts at the right edge of DIV 1 and takes
the remaining screen. DIV 2 contains another DIV (D3) which has
overflow: auto, so there is a scroll bar on that D3 which contains all
the draggable objects. DIV 1 is the droppable, all z-index are unset
(so I assume equal). The problem is when dragging from D3 (ghosting on)
the dragged object is under DIV 1. I am using version 1.6.4, I see on
line 335 of dragdrop.js there is a cloneNode and that is attached to
the parent of the current element. Maybe in my case it needs to
attached to the parent of the parent.
Any help would be great!
Thanks
Glenn
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---