Displaying 2 results from an estimated 2 matches for "finishdrag".
2006 Feb 03
3
overloading dragdrop.js
...nk_to_remote and
observe_field.
What is the proper way to observe that the position
(not content) of a div has changed?
I can think of 2 manners, but both seem antiquated
compared to the techniques here:
1. put a hidden field inside the div with the
top+left, updating these values upon
Draggable.finishDrag, triggering an AJAX event
2. Put a whole call to AJAX.Updater inside of a new
method of Draggable, called when finishDrag is nearly
done.
Maybe that''s really 1 manner. In any event, is there a
way to extend the Draggable object without modifying
dragdrop.js? Can you add more methods via...
2005 Sep 29
14
Draggables and overflow div''s revisited
I have two scrollable div''s (overflow:auto), one with
a list of elements (the source) and the other is the
drop target (dest).
I''ve enabled ghosting so that the drag element gets
out of the scrollable box (good).
Interesting, at least on Firefox, the ghosted drag
ends up going ''under'' the destination div when I drag
it. No amount of z-order fidding seems to