Actually, turns out Drag.Move is what i needed.
On Aug 16, 10:57 pm, André Fiedler <[email protected]> wrote: > I think you have to implement this by your own. Make a new Class extending > Drag.Move (like "Drag.MoveElastic" or so) and overwrite the "drag" method > call:http://github.com/mootools/mootools-more/blob/1.2.4.4/Source/Drag/Dra... > > greetings Sunny > > 2010/8/16 electronbender <[email protected]> > > > > > > > > > I have this:http://mootools.net/shell/4bXAf/ > > So when you drag the layer left / right, it moves left / right. > > But the idea is: > > 1. Make it move horizontally only (how do i limit the vertical drag) > > 2. Give the drag some elasticity, as if i drop it with some momentum, > > the layer keeps scrolling for a few more pixels. > > > Anyone has any ideas on how to accomplish this?
