I'm asking because I have a question during the web application development.

Asked 2 years ago, Updated 2 years ago, 95 views

I'd like to have new feeds come out if I put them down like Facebook, but what kind of method is this?

Are there any examples that I can refer to?

If there are no examples to refer to, I wonder how to make them.

Please explain in detail.

Thank you.

facebook jquery ajax refresh html

2022-09-21 21:33

1 Answers

It's a technique called 'infinite scroll' (infinite scroll)

The general rule is to run an event that brings more text when the scroll bar goes down to the bottom.

If you send the last id of the article to the server together, you will get some of the previous posts based on the last id.

If you search infinite scroll or infinite scroll on Google, you'll get a lot of examples


2022-09-21 21:33

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.