eerne / scrollbar

MooTools Scrollbar class (extends Slider)
http://mild.ch/productslider
MIT License
29 stars 9 forks source link

move2 function does not work in version 2.0 #6

Open thenajsays opened 13 years ago

thenajsays commented 13 years ago

does anyone have a solution?

eerne commented 13 years ago

2.0 isn't finished yet. the thing is 2.0 was almost a compete rewrite with api changes. I also got rid of Fx.Slide dependency, and it is more just an extended mootools slider https://github.com/eerne/scrollbar/commit/a0f7161b15785b3a1c701537bd14434f818e6e03#diff-12 I never liked the method name move2, so at the moment it's not there yet.

thenajsays commented 13 years ago

Thanks. Do you have a target date for completion?

eerne commented 13 years ago

At the moment I dont really know how the api should look. Maybe mySlider.move('top') and mySlider.move('bottom') and mySlider.move('stop') or so… :/ not sure

thenajsays commented 13 years ago

Will you be able to create "Next" and "Previous" links or arrows to move to the next item? or even arrows that move the viewport left or right (or up or down) x number of pixels?

eerne commented 12 years ago

Next version should support "incremental moving", not yet sure how to implement this.