Implementing a continuous scroll

Social websites often have a feature called continuous scrolling, which is also known as infinite scrolling, as an alternative to pagination. Rather than having links to see additional sets of items separately, there are long lists of items, and, as you scroll down the page, new items are loaded and attached to the bottom automatically. In this recipe, we will see how to achieve such an effect with Django and the jScroll jQuery plugin. We'll illustrate this using a sample view showing the top 250 movies of all time from the Internet Movie Database (http://www.imdb.com/chart/top).

You can download the jScroll script, and also find extensive documentation about the plugin, from http://jscroll.com/.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.139.107.241