On 11/01/2006, at 6:58 AM, Thomas Fuchs wrote:
Setting the scroll option on Draggables or Sortables to an element
(or an element id)
will attempt to auto-scroll this element when dragging.
See test/functional/dragdrop3_test.html for a demo/usage.
It's modelled after the behaviour in the Mac OS X finder, with
variable scrolling
speed depending on the distance to the scroll element edge.
Also, it's tweakable with the scrollSpeed and scrollSensitivity
options.
Awesome work Thomas, a much needed addition!
Works fine for me (Safari 2.0.2).
My only feedback is that I felt I had to go too far beyond the frame
of the scrollable div to start the scrolling.
-- tim lucas
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs