Comments (5)
And I guess this issue is related to the URL not updating correctly ...
http://jb.utad.pt/familia2/fabaceae/pagina10#/pagina15 ? 👎
Why is the # sign used? Why can't the script go along with the pagination already in place on the site?
from infinite-ajax-scroll.
I have to look into this, but this can take a while before I come up with a solution.
As a workaround you could try to disable IAS when a visitor doesn't land on the first page.
from infinite-ajax-scroll.
How about this solution?
If the paginator has previous link, we show button "show previous page" or something like this. After clicking this button we load previous page by ajax and set loaded content to top of the page.
from infinite-ajax-scroll.
I like your idea. Thanks for thinking along!
from infinite-ajax-scroll.
I complete rewrote the history support in 2.1.0, which now works with a "load previous page" link. For an example check: http://infiniteajaxscroll.com/examples/history.html
from infinite-ajax-scroll.
Related Issues (20)
- Write upgrade instructions 2.x -> 3.x
- Wrong CDN link in the README HOT 1
- Is there any way to make this work with dynamic content like pjax or htmx HOT 3
- Exclude the 'javascript:;' from the next url HOT 5
- Get next from JSON HOT 5
- Bind on load (DOMContentLoaded)
- Regularly and randomly failing resize test
- Accessibility and Keyboard Navigation HOT 9
- VueJS support/example
- Doesnt work if link includes Get request (?srch=value) HOT 2
- Running over CDN vs npm, and pagination question HOT 3
- Limit the number of items HOT 1
- Not able to reload after ajax content load. HOT 1
- After form POST or GET result pagination not working HOT 2
- Prevent the url from changing when scrolling or in other words, the url stays at the same address? HOT 1
- Element ".pager__prev" not found for "options.prev
- Use item selector with ::last
- Prevent to close HTML Tags in appendFn
- <video> not loading in firefox HOT 1
- Loading duplicate pages on refreshing or going back to page
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-ajax-scroll.