> I've been working on new ideas for a JavaScript drag and drop library.
> I haven't found a drag and drop library flexible enough for my needs
> and I think I have come up with something that is generally
> worthwhile. I use the DOM and Event utilities from Yahoo! UI and no
> Prototype.js. I'm interested in any ideas or suggestions people might
> have.

Interesting approach.  While reading your article, an idea occurred to
me.  Why not simply offset the dragged item to be a few pixels below the
cursor as soon as the drag begins.  Then you don't have the empty box in
the middle, you don't need to create 4 divs, and you still get the
benefit of triggering DOM events like you want.  I had no idea that the
dragdrop library worked like you wrote; that's probably a major reason
it gets really slow with a lot of droppables.

Greg
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to