Automatically Load Content on Scroll

Supplemental 147 views
0 Flares 0 Flares ×

Some websites such as Twitter loads content on scroll. Which means that all content is dynamically loaded on a single page as long as you scroll down.

Here’s how you can replicate this effect on your website:

var loading = false;
		if(loading == false){
			loading = true;
			$.get("load.php?start="+$('#loaded_max').val(), function(loaded){
				loading = false;

$(document).ready(function() {

For Reference:

Content Load on Scroll

Provided by: Fat Folder Design
Tagged with:
Posted in jQuery


Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

No Trackbacks.


Register | Lost your password?
0 Flares Twitter 0 Facebook 0 Google+ 0 0 Flares ×