jamesflorentino / nanoScrollerJS

A jQuery plugin that offers a simplistic way of implementing Lion OS scrollbars.
http://jamesflorentino.github.com/nanoScrollerJS/
MIT License
2.69k stars 502 forks source link

Animation options #136

Open nassdonald opened 11 years ago

nassdonald commented 11 years ago

It would be nice to have an animation option for the scrolling methods, to achieve the same effect as the following:

$('.row').click(function() {
    $('.nano').animate({
        scrollTop: (
            $('.selected-row').offset().top -
            $('.nano').offset().top +
            $('.nano').scrollTop()
        )
    }, 300);
});
guyisra commented 11 years ago

+1

miljan-aleksic commented 11 years ago

Checkout issue #137 for animation workaround.