jscroll icon indicating copy to clipboard operation
jscroll copied to clipboard

more than one scroll on a page

Open yairpe opened this issue 9 years ago • 9 comments

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

yairpe avatar Apr 14 '15 20:04 yairpe

I have the same question. Only one column works. Is it a bug or am I doing something wrong?

borayeris avatar Apr 17 '15 03:04 borayeris

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.

borayeris avatar Apr 17 '15 22:04 borayeris

Thanks. I'll take a look at it.

yairpe avatar Apr 17 '15 23:04 yairpe

@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.

pklauzinski avatar Apr 20 '15 19:04 pklauzinski

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 avatar Apr 21 '15 22:04 yairpe

yairpe,

Do u have it online?

borayeris avatar Apr 22 '15 00:04 borayeris

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

yairpe avatar Apr 22 '15 05:04 yairpe

Any updates on this?

kevzlou7979 avatar Jun 21 '16 10:06 kevzlou7979

@borayeris thanks your solution works

lucia33 avatar Aug 15 '16 19:08 lucia33