Displaying 1 result from an estimated 1 matches for "draggble".
Did you mean:
draggable
2006 Jan 30
0
Draggable with auto-scroll
...n the "if
(this.options.scroll) {}" block, you had a line that said var p =
Position.page(this.options.scroll). That was giving me problems when my
page was scrolled down at all. With the page scrolled down at all, the
div with the overflow scrollbar would scroll itself immediately upon a
draggble within it being dragged, instead of only when the draggable
reached the bottom border of the scrollable div.
To fix this, I changed the Position.page to Position.cumulativeOffset
and commented out the 2 lines below it where you were adding the
scrollLeft and scrollTop values to the p[0] and p[1...