[Dojo-interest] Re: DnD extension
Eugene Lazutkin
eugene.lazutkin at gmail.com
Sun Sep 25 18:00:44 PDT 2005
Thanks, it does exactly what I want to do. Unfortunately it has some problems with different platforms. More specifically it doesn't work with IE6 and Opera 8.50. It can be due to some problems in Dojo, which were fixed recently.
Anyway it looks very nice.
Thanks,
Eugene
"Chris (FeedTagger)" <chris.were at gmail.com> wrote in message news:35bb4269050925093360c897a4 at mail.gmail.com...
Straight to the demo:
http://www.chriswere.com/code/dojo/tests/dnd/test_divdnd.html
Hi,
I've gotten around to playing with HtmlDragDrop.js and have created an
alternative version. It has some modifications to highlight where
exactly the inserted node will be placed and has better support for
multiple column layouts.
Attached is two files required to get it working (.html in tests/dnd,
.js in dnd/)
At present it doesn't matter where on a DOM element you click, it can
be dragged. Ideally this should only occur when clicking on an element
such as the title. To implement this however would require changes to
HtmlDragManager.js also, so I've left it for now. (perhaps pass a DOM
node that should be the "dragHandler" to registerDragSource?)
Anyway, hopefully it's useful for someone :)
Cheers,
Chris
------------------------------------------------------------------------------
_______________________________________________
Dojo-interest mailing list
Dojo-interest at dojotoolkit.org
http://dojotoolkit.org/mailman/listinfo/dojo-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://dojotoolkit.org/pipermail/dojo-interest/attachments/20050925/984e41ce/attachment.html
More information about the Dojo-interest
mailing list