-
Notifications
You must be signed in to change notification settings - Fork 559
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
Multiple jscroll in same page. #48
Comments
I have the same issue, I don't think the plug-in sustains this type of usage (unless it's my mistake). It would be nice to have several parallel incrementing columns on a single page. |
You certainly can. You may create as many jScroll instances on a page as you wish, each with its own set of options. As shown on the official website, http://jscroll.com, there are three examples on the same page. $('[data-ui="jscroll-default"]').jscroll({
debug: true
});
$('[data-ui="jscroll-example2"]').jscroll({
autoTrigger: false,
debug: true
});
$('[data-ui="jscroll-example3"]').jscroll({
autoTriggerUntil: 3,
debug: true
}); |
Not working. |
@borayeris - that doesn't help me resolve your problem. Please point me to an example of your code, or place one up on http://codepen.io/. Thanks. |
I forked your code. You will understand. |
@borayeris You've to calm down buddy 😄 |
And he changed something did you check it out? |
for my case, it doesn't work if the same default setting is expected, say I want all elements work on scroll (default) |
If you got here from google search and are having trouble getting two jscroll at the same time, the pull request #119 above is probably the solution...it worked for me. |
How can I implement multiple jscroll in same page ?
I tired to implement 2 jscroll, but only one works, If i comment one the other one works.How can i make both of them work ?
regards,
Prasanth
The text was updated successfully, but these errors were encountered: