It's the theme of the day: create an observable class, and attach it
to the Draggable.
See SortableObserver in the Scriptaculous source for an example.
TAG
On Jun 14, 2006, at 4:44 PM, Jeremy Kitchen wrote:
Hi folks.
I'm working on a project where I need some drag and drop, but I
need to
implement what happens in a very different way, so I'm creating my
own class
for it. I don't want to reinvent the wheel and redo Thomas' excellent
drag/drop functionality, nor do I want to copy/paste his code over
into mine.
So, I was wondering, has anyone tried to extract the very low level
basic drag
and drop functionality out of scriptaculous? If not, I'll try to
do this
myself (in such a way that scriptaculous might be able to be ported
over to
it, and other libraries take advantage of the functionality). It
seems like
it will be a fair bit of work (especially if I want to maintain
backward
compatibility with scriptaculous), so if someone has already
started this, or
has done this, it would be nice to save some time :)
Thanks!
-Jeremy
--
Jeremy Kitchen ++ [EMAIL PROTECTED]
http://www.pirate-party.us/ -- defend your rights
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs