I want that when the user clicks one button, he scrolls +10 pixels down. I can’t use $('html, body').animate({scrollTop: '10px'}, 300); here, because it will just scroll +10px from the top and that’s not what I need. Is it possible to do what I want? Thanks.
I want that when the user clicks one button, he scrolls +10 pixels down.
Share
1 Answer