[Proto-Scripty] Draggables inside div with overflow:scroll

2013-05-07 Thread aysonway
I have created two divs. One is for draggable objects. Another for the area where they should be dropped. The both divs should have the same height and if there are large number of draggables to have scrollbar. When I add *overflow: scroll* to the div with draggable objects, then drag-and-drop

Re: [Proto-Scripty] Draggables inside div with overflow:scroll

2013-05-07 Thread Jason Westbrook
I actually had the exact same problem with the Draggables and Droppables If you add {ghosting:true} to the options then Draggables will create a copy of the DIV and attach it to the body element, (outside the containing scrolling div) - but the downside is when you drop it you have to recreate

Re: [Proto-Scripty] Draggables inside div with overflow:scroll

2013-05-07 Thread Walter Lee Davis
On May 7, 2013, at 7:30 AM, ayson...@gmail.com wrote: I have created two divs. One is for draggable objects. Another for the area where they should be dropped. The both divs should have the same height and if there are large number of draggables to have scrollbar. When I add overflow:

[Proto-Scripty] Re: Draggables inside div with overflow:scroll

2013-05-07 Thread aysonway
Thank you both! I will give it a try. The example in jsfiddle is basic. I have more functionality in my actual script and will look how the solution interferes with other parameters. But the Jason's example in jsfiddle looks very promising ;) Am Dienstag, 7. Mai 2013 13:30:01 UTC+2 schrieb