New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scrolling position #38
Comments
$(selector).slimScroll().bind('slimscroll', function(e, pos){
if(pos > 500)
$(selector).slimScroll({ scrollTo: '0px' });
}); regards |
From version 1.0.9 onwards, this is the 'slimscrolling' event. |
But this binding of slimscroll' brings exception saying "Undefined is not a function" |
You can also try $(selector).scrollTop(); |
pos variable is returning 'top' not any integer value. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
how can i find the scrolling position? when it reached eg 500px, i want to scroll top
The text was updated successfully, but these errors were encountered: