Skip to content

Update jquery.slimscroll.js to allow simple animated scrolls.#97

Open
edragame wants to merge 1 commit intorochal:masterfrom
edragame:master
Open

Update jquery.slimscroll.js to allow simple animated scrolls.#97
edragame wants to merge 1 commit intorochal:masterfrom
edragame:master

Conversation

@edragame
Copy link

Hello - I'm new to github, so
a) I apologize if I'm going about this wrong (feel free to berate me) and
b) I hope this is in some way helpful/its something you think would be helpful to other people.

I added the ability for slimScroll to allow for animated scroll calls. All one would have to do is add an animate option to their call.. eg.

$("#thing-to-scroll").slimScroll({ scrollTo: scrollLocation, animate: true });

@EatPrayCode
Copy link

I am facing the same problem, but after placing above code, getting Uncaught reference error:delta not defined.I defined it globally, error gone.but scrolling not worked. Please any help to solve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants