Translate

Monday, May 20, 2013

Pagination

How to add page navigation in post like that:-




From layout --> Edit HTML and go to text </body>
Now write this before it:-
<!--PAGINATION-STARTS-->
<script type='text/javascript'>

var pageCount=10;
var displayPageNum=3;
var upPageWord =&#39;Previous&#39;;
var downPageWord =&#39;Next&#39;;
</script>
<script src='http://files.main.bloggerstop.net/uploads/3/0/2/5/3025338/pagination1.js' type='text/javascript'/>
<script src='http://files.main.bloggerstop.net/uploads/3/0/2/5/3025338/pagination2.js' type='text/javascript'/>
<!--PAGINATION-STOPS-->