Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Scroll for more script -- How?

If you look on http://soup.io or http://hashtags.org, and you scroll all the way down, you'll see how the page automatically loads MORE INFORMATION as you get to the bottom.

How do I do this?

like image 306
user106089 Avatar asked Feb 28 '23 18:02

user106089


1 Answers

This can be achieved using the Scroll Event, making an Ajax call and appending the resulting HTML to the content of a DIV.

Here's some more information on how to do it: load-content-while-scrolling-with-jquery

like image 155
ichiban Avatar answered Mar 05 '23 16:03

ichiban