Use a onDrag event or something. Check the y pos of the cursor and if
it hits a certain boundary, start a scroll event on the window.

On 25 apr, 20:01, alex-and-r <[email protected]> wrote:
> Hi, everyone!
>
> I have a sortable list (actually sometimes several soratble lists one under
> another) made using mootools 1.2. At times the list(s) becomes really long,
> longer than part of the page displayed in browser window. In this case, when
> I need to drag element from top of the list to the bottom, I can't do it,
> because my page won't scroll while I drag an element down the list. So I
> have to drag it to the bottom of the displayed portion of the list, "drop"
> it, scroll the page further down and drag again.
>
> So this way of sorting long lists is a bit annoying!:( I want to be able to
> drag an element and, when I drag it to the bottom of the display area of the
> browser window, scroll the page down while still dragging an element. How
> can this be implemented?

Reply via email to