I've been in a rut today, so perhaps I misinterpreted what you're looking for:

As I understood your question, you wanted to be able to use the drag/ drop functionality that comes with scriptaculous, but define your own default behaviors for onDragStart, onDrag, on DragFinish, and onUpdate. If this is what you want, then an observer is the way to go. The Sortables class adds functionality to the basic drag/drop in this way.

If you mean something else, then I answered the wrong question.


TAG

On Jun 14, 2006, at 5:30 PM, Jeremy Kitchen wrote:

On Wednesday 14 June 2006 16:04, Tom Gregory wrote:
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.

I don't see how SortableObserver is in any way related to my question?

Maybe I'm blind, or maybe you meant to type something else ;)

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

Reply via email to