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

Scroll back to previous results... #40

Closed
AfonsoFG opened this issue Oct 25, 2012 · 5 comments
Closed

Scroll back to previous results... #40

AfonsoFG opened this issue Oct 25, 2012 · 5 comments
Labels

Comments

@AfonsoFG
Copy link

I have set up ias with ease at this address: http://jb.utad.pt/familia2/fabaceae (List of Flower species that belong to the family Fabacear)

The PHP with the htaccess also allow the URL also to be in this form: http://jb.utad.pt/familia2/fabacea/paginaX (pagina meaning page in portuguese).

What happens is that if a user goes directly to (let's say) page 10 .... he won't be allowed to scroll back ... and thus won't see a lot of results this page gives... this is a major issue as Google has indexed plenty of our result pages for this file ...

Can it be fixed?

Cheers.

@AfonsoFG
Copy link
Author

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?

@fieg
Copy link
Member

fieg commented Nov 8, 2012

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.

@seregagl
Copy link

seregagl commented Mar 6, 2013

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.

@fieg
Copy link
Member

fieg commented Mar 6, 2013

I like your idea. Thanks for thinking along!

@fieg
Copy link
Member

fieg commented Feb 23, 2014

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants