Comments (7)
Which version of the plugin are you using? Do you have a live site we can see this on or could you replicate with jsFiddle? Thanks.
from infinite-scroll.
Hi
I'm using version 2.0 at the moment. I've downloaded it from github. I have
a live website running but it is with a login and confidential, After the
weekend I'll make a testpage so that you can see what's going wrong.
Jurgen
2011/6/10 lukeshumard <
[email protected]>
Which version of the plugin are you using? Do you have a live site we can
see this on or could you replicate with jsFiddle? Thanks.Reply to this email directly or view it on GitHub:
#49 (comment)
from infinite-scroll.
I've made a test page. You can visit it on http://extranet.lunasoftbe.com/ecommerceV3/index.php/nl/login/test
The third time you have a new infinite scroll it are the duplicate values
from infinite-scroll.
In my console, I see that it's requesting ?page=2, ?page=3, ?page=4 and so on. Maybe this is something to do with how you're returning results from your query rather than the plugin?
from infinite-scroll.
My query returns a total of 2 pages, I've printed that out after the first
part of the table. After the second page my query does nothing anymore he
just keeps repeating the last values. Could it be that there is a problem in
the retrieve function of the infinite scroll plugin? I've enabled debug and
it gave me
["heading into ajax", ["/ecommerceV2/index.php/nl/ecommerce/index?page=", ""
]] but where is the page number here?
2011/6/15 lukeshumard <
[email protected]>
In my console, I see that it's requesting ?page=2, ?page=3, ?page=4 and so
on. Maybe this is something to do with how you're returning results from
your query rather than the plugin?Reply to this email directly or view it on GitHub:
#49 (comment)
from infinite-scroll.
That path in debug is an array split into 2 parts. Where the separation is (?page=
) is where your page number goes in. The second value of the array is whatever would come after. Yours is blank, so nothing comes after it.
What comes up in mine is ?page=2, ?page=3, ?page=4 and so on. If I go to http://extranet.lunasoftbe.com/ecommerceV3/index.php/nl/login/test?page=4, it's bringing up the values that you say are repeated. In your backend solution, you just need to sort it so that if there are no more results, it should result in a 404.
from infinite-scroll.
Thank you for the help. It was indeed the 404 response that I needed.
Everything is working fine now.
2011/6/17 lukeshumard <
[email protected]>
That path in debug is an array split into 2 parts. Where the separation is
(?page=
) is where your page number goes in. The second value of
the array is whatever would come after. Yours is blank, so nothing comes
after it.What comes up in mine is ?page=2, ?page=3, ?page=4 and so on. If I go to
http://extranet.lunasoftbe.com/ecommerceV3/index.php/nl/login/test?page=4,
it's bringing up the values that you say are repeated. In your backend
solution, you just need to sort it so that if there are no more results, it
should result in a 404.Reply to this email directly or view it on GitHub:
#49 (comment)
from infinite-scroll.
Related Issues (20)
- Learning html
- How can I parse the next/prev links of loaded pages? HOT 1
- standby function with sticky footer HOT 1
- infinite-scroll with websockets
- tile HOT 1
- Items shown and total items under view more button HOT 3
- Fackbook hack
- Infinite scroll + JSON
- Cloudflare mirage data-cfsrc lazy load conflict
- my tumblr theme's images not loading after page 1 (Safari only) - Infinite scroll & load more issue HOT 3
- Feature - Combination with Pagination - Load and Scroll to specific Page
- Page Link Issue
- Card Columns Not Working
- Web App For Iqama status
- Infinite-scroll and Joomla
- View Transitions
- Infinite Scroll + Masonry works only sometimes, sometimes it bugs HOT 1
- prefill loads data endlessly when container has display:none HOT 2
- Deprecating the unload event HOT 2
- Rating of a topic and infinite scroll HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from infinite-scroll.