jscroll
jscroll copied to clipboard
more than one scroll on a page
I'm trying to have two jscroll on a single page.
One is on the regular posts page The other is in sidebar (UIKit off-canvas)
After opening the sidebar and binding jscroll to its div, closing the sidebar, the scrolling in the main page is with the sidebar.
Is there any way to push/pop the jscroll functionality?
Thanks
Yair
I have the same question. Only one column works. Is it a bug or am I doing something wrong?
Hi Yair,
I think I found a solution. https://github.com/borayeris/jscroll I modified jquery.jscroll.js. Please test it. Do not use jquery.jscroll.min.js. Use jquery.jscroll.js.
Thanks. I'll take a look at it.
@borayeris - Please submit a pull request for your changes if you think they fix the issue, and we can add it to the main repo. Also, make sure you run grunt
in your dev environment so that the minified file is created.
borayeris, Maybe i'm doing something wrong but it keep loading all pages one after the other in the sidebar
I've implemented a simple '--More--' button myself for the inner scrolling.
Right now I'm fighting jscroll not to trigger if there is only one page and no nextSelector found....
yairpe,
Do u have it online?
see topishare.com test account: [email protected] / test The first jscroll is the posts in a topic page The second one I thought to use it is the internal mail (envelope icon at the header) but implemented a simple 'More' myself
Any updates on this?
@borayeris thanks your solution works