
If you want to see the live example of this infinite scrolling script on Blogger. You can click the demo button below.
Demo
Note: This script will work only on default Blogger templates or those are not highly customized template.
Installing infinite post loading script for Blogger
1. Go to Blogger Dashboard › Select Blog › Template tab › Edit HTML
2. Now search for </head> in your template
3. And paste following code on just above </head>
<b:if cond='data:blog.pageType == "index"'>4. If you're using latest jQuery script you can remove the jQuery code from above code highlighted in red. You should download and upload these files in your own Dropbox or Google Project or Code which are highlighted in green and orange color.
<script src='//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js'></script>
<script src='http://techprevue.googlecode.com/files/jquery.ias.min.js' type='text/javascript'></script>
<script type='text/javascript'>
jQuery.ias({
container : '.blog-posts',
item: '.post-outer',
pagination: '#blog-pager',
next: '#blog-pager-older-link a',
loader: 'http://techprevue.googlecode.com/files/preloader.gif'
});
</script>
</b:if>
5. Now Save this script (code) in your template
6. Go to your blog's home page and see the script in action. If script does not work please load the page else leave a comment.
Other Essentials ›
› Learn How to Edit blogger template
› Learn How to host files on Dropbox
› Learn How to host files on Google Project or Code
Post a Comment