Skip to content
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

not working with contentSelector #7

chulian1819 opened this issue Jul 17, 2013 · 8 comments

not working with contentSelector #7

chulian1819 opened this issue Jul 17, 2013 · 8 comments


Copy link

@chulian1819 chulian1819 commented Jul 17, 2013

im using

    <script type="text/javascript">            
            debug: true,
            loadingHtml: '<img src="loading.gif" alt="Loading" /> Loading...',
            padding: 20,
            contentSelector: '.content',
            nextSelector: 'a.jscroll-next:last'                

but in the log says:

nextHref "page2.html .content .content"
instead of "page2.html .content"

if I remove the contentSelector will work ok but with the unwanted html

Copy link

@nathanhornby nathanhornby commented Jul 23, 2013

I think I'm having a similar issue.

It either doesn't work, or it works and loads the entire page (i.e. the entire body contents).

Copy link

@jacob-v-dam jacob-v-dam commented Aug 23, 2013

In the latest version 2.1.1, the contentSelector is placed after the nextSelector. In my opinion is this wrong, why would i load data from my next page selector? I would be better if it checked inside the jsroll element for the content selector.

Hopefully there will be a fix soon.

Copy link

@Andres-Botero Andres-Botero commented Aug 28, 2013

I had the same issue. I created a fork to this repository at
The update fixes:

  • Fixed bug with contentSelector option.
  • Evaluates status when loading content. If status equals error it removes nextSelector as well scroll-loading content.

Copy link

@tjtate tjtate commented Sep 10, 2013

bump. is this legit? if so can we merge above fork or provide alternatives? thanks!

Copy link

@Andres-Botero Andres-Botero commented Sep 10, 2013

Hi there!. Yes, I fixed those two issues because I needed it. It works for me, but feel free to test. I'm down to merge the forks, I just don't know how lol.

Copy link

@YorickH YorickH commented Oct 29, 2013

I'm having the same issue. And Andres his solution fixed the problem.
If it's not working instantly or loading only 1 time, try placing the pagination inside the contentSelector object and setting the pagingSelector so the paging is hidden.

To commit your changes for review you'll need to submit a pull requests to this repo. And hope it get's accepted

Copy link

@pklauzinski pklauzinski commented Nov 21, 2013

Hey guys, contentSelector is a reference to a selector on the next page that you will be loading. It is placed after the href of the next selector, and is called using jQuery's .load() method which allows the loading of page fragments. Please see for documentation on this feature.

Copy link

@vinitxit vinitxit commented Aug 9, 2014

i have an issue with this, there is load all content on page but not show load more option,
for ex:- autoTriggerUntil: 3, after 3 trigger it's stop but not show load more option, can any one explain me.or help me...i have use this repository's master script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
8 participants