Giter Site home page Giter Site logo

Comments (7)

fieg avatar fieg commented on May 27, 2024

Not necessarily, you can go without Pagination if you want to load from JSON for example.

from infinite-ajax-scroll.

dd2424 avatar dd2424 commented on May 27, 2024

hi
I have no pagination. I don't have JSON. I have items generated by a search form in GET method.
Can I use your infinite-ajax-scroll?
thanks

from infinite-ajax-scroll.

fieg avatar fieg commented on May 27, 2024

Yes you can. Be sure to try it out before you buy a license.

from infinite-ajax-scroll.

dd2424 avatar dd2424 commented on May 27, 2024

Site Web, doc :

Infinite Ajax Scroll is a javascript infinite scrolling plugin. It works by reading the next (and previous) links of your existing server-side pagination and load these pages via AJAX when the visitor scrolls to the end of the page.

You must already have pagination on the server side, otherwise it does not work.
https://docs.infiniteajaxscroll.com/#what-is-infinite-ajax-scroll

from infinite-ajax-scroll.

fieg avatar fieg commented on May 27, 2024

Have a look at these examples:

These don't have server-side pagination. You do need some JavaScript skills, but these examples should give you a head start.

from infinite-ajax-scroll.

dd2424 avatar dd2424 commented on May 27, 2024

ok I understood :)
but .. the googlebot deactivate JavaScript, then you need pagination on the server side + html. that's right ?
thanks

from infinite-ajax-scroll.

fieg avatar fieg commented on May 27, 2024

Google is better at indexing javascript sites these days, so it might not be necessary. I still think it's best practice to have server-side pagination.

from infinite-ajax-scroll.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.