Infinite Posts Scrolling in Blogger
Infinite Scrolling refers to the ability to continuously load new content on a page without refreshing it which gives an appearance of endlessness. It is used by major sites like Google+ , Facebook and Twitter and pretty successfully at that.So today this our post for you.
Features
1. Faster Loading
2. Content Exposure increase many fold
3. More intuitive for Touch devices
4. Best suited for image-heavy blogs
5. Simplified Navigation
6. Higher user Engagement
Install It Into Blogger
Across the Whole Blog
It will work on the Home Page , Label Pages , Archive Pages as well as Post Pages ( the previous post will be loaded in full )
Only Home Page, Label Pages and Archive Pages
It will not work in the Post Pages.Some Tips
+1 , Tweet and Like Buttons will be loaded after every AJAX request , so if you have these social sharing buttons beneath every post then don't worry about them not showing
When the new post is loaded beneath a post ( If you choose the first option ) , then the Threaded comments in the newly loaded post will not work
To replace the Loader image , just search for .gif in the Widget code and replace that whole URL with another Image
To change the number of times before the user is asked to load more pages , search for triggerPageThreshold: and replace the numeric value ahead of it , if for example you set the value as 4 then the plugin will load new content four times before it asks you weather you want to see more content or not
onRenderComplete:function() function is used to tell the plugin what to do after the page has been successfully loaded , Here I have added a snippet which tells Google Analytics that a new page is loaded so that GA registers every AJAX request as a New Page visit
loaderDelay: tell how much milliseconds to wait before the new content is actually added to the page
And DoNe.
0 comments: