[Dojo-interest] Drag from one Div and drop in other
jon.sykes at media-hive.com
Fri Apr 21 15:35:36 MDT 2006
Yup seems to be what it already does, I'm looking at
And when you click and start dragging source, fi (in FF) you then
view the rendered source you'll see at the very bottom before the </
body> tag is closed:
<div dojodragsource="dojoDragSourceIdx_0" style="border: 1px dotted
black; width: 50px; height: 30px; opacity: 0.5; z-index: 500;
position: absolute; top: 77px; left: 36px;" id="source">
That's the 'being' dragged copy of source.
On Apr 21, 2006, at 5:29 PM, Jon Sykes wrote:
> I thought that what it did already?
> The DND list examples do, because if you apply them to a table, as
> soon as you drag the TR gets pulled out the table context and the
> whole world comes crashing down.
> I assume the DND doesn't do it natively, maybe look at how the DND
> widgets handle it.
> Jon Sykes
> On Apr 21, 2006, at 5:20 PM, locoHost wrote:
>> This is going to require some work by one of the Dojo
>> contributors. We'll
>> need a property which pops the child element out of it's parent
>> and adds it
>> to the Body while dragging. That way we can have scrolling Divs with
>> children and drag them out and drop into other Divs.
> Dojo FAQ: http://dojo.jot.com/FAQ
> Dojo-interest at dojotoolkit.org
More information about the Dojo-interest