Trying to go to the SVN page via the wiki... not loading (site is always
super slow)

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Thomas Fuchs
Sent: Tuesday, January 10, 2006 1:59 PM
To: script.aculo.us List
Subject: [Rails-spinoffs] [ANN] Autoscrolling for Draggables and
Sortables

Hi all,

I've applied an experimental patch today to the scripaculous trunk.

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.


Note that the exact behaviour and options names might still change,  
I'm open
to suggestions on this. Also, it's currently not working for  
scrolling the window
(but that should be a trivial addition).

So-- let's test and discuss this... :)

-Thomas
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

The information transmitted in this electronic mail is intended only for the
person or entity to which it is addressed and may contain confidential,
proprietary, and/or privileged material.  Any review, retransmission, 
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from all computers.

_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to