Pretty simple example of my idea: http://jsfiddle.net/XgXFH/2/
<http://jsfiddle.net/XgXFH/2/>You could also use Scroller from MooTools More: view-source:http://mootools.net/test/mootools-ui-runner/index.php/more/Interface/Scroller_(With_Drag) (check the source how to use it) On Mon, May 2, 2011 at 11:13 PM, alex-and-r <[email protected]> wrote: > I also came up with another way just a few minutes ago. Sortables have > also onSort event which fires every time order of the elements of the > list(s) is changed. So basically when we drag an item and "sort" it > somewhere (not dropping it) we can check mouse position and do > something. :) > > > On Tue, May 3, 2011 at 1:07 AM, Arian Stolwijk <[email protected]> wrote: > > No it does not. > > However Sortables have two evens: onStart and onComplete. > > In these evens you could add / remove or enable / disable another > mousemove > > event on the document. > > In that even you could check if your mouse is near the bottom of the > page, > > and then scroll the page. > > > > On Mon, May 2, 2011 at 10:59 PM, Oskar Krawczyk < > [email protected]> > > wrote: > >> > >> Sortables extends the Drag class, hence inherits all of of its parents > >> events. > >> > >> O. > >> > >> On May 2, 2011, at 10:00 PM, alex-and-r wrote: > >> > >> > Thanks for reply, but I don't get it! :( > >> > I'm not good at javascript, I tried to google and read mootools docs > but > >> > still don't see how can I use onDrag event with sortables! It seems to > me > >> > that there is no such event for sortables! Or am I wrong? I found this > event > >> > for Drag and Drop but not for Sortables... :( > >> > > > > >
