How to add page number navigation in blogger / blogspot?
Today i will show you how to add page number navigation in blogger/websites below are the steps for page number navigation
step 1
Sign in – in your blogger account
step 2
Go to blogger layout option.
step 3
Select add Gadget option
step 4
select “HTML/JavaScript”
Gadget and past below given Java Script in
STYLE 1:-
<style>#blog-pager{clear:both;margin:20px 0 20px;font-size:
12px;padding:10px 0;}#blog-pager-newer-link{float:
left;}#blog-pager-older-link{float: right;}.Profile img{border:3px
solid;float:left;margin:5px 10px 5px
0;padding:2;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}.profile-data{color:#999999;font:bold
20px/1.6em
Arial,Helvetica,Tahoma,sans-serif;font-variant:small-caps;margin:0;text-transform:capitalize;}.profile-datablock{margin:0.5em
0;}.profile-textblock{line-height:1.6em;margin:0.5em
0;}a.profile-link{clear:both;display:block;font:80% monospace;padding:10px
0;text-align:center;text-transform:capitalize;}h2.date-header, .PageList
h2{display:none;}#blog-pager-older-link a,#blog-pager-newer-link
a,a.home-link,.showpageNum a,.showpage a{background:
url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEdMeiuVQXZvv0k6JeuICWkiZ1GC_vMHO6QnmUB4L7Ol-tTP3TAfkRrOSD1TrYMwr_tIgAbPp2sxfipgz2ebgrwni1lIalcwwJ_-QCqjse5dfT-DTIIJ0S5xdcBgYL8kLUgAmhlCydYPg/w1-h26-no/ABT+nav1.jpg)
repeat-x;border:1px solid #ae4402;color:#fff;margin:2px;padding:6px 10px
5px;text-decoration:none;text-shadow: 1px 0 1px #000;}#blog-pager-older-link
a:hover,#blog-pager-newer-link
a:hover,a.home-link:hover,.showpageOf,.showpagePoint,.showpageNum
a:hover,.showpage a:hover{background:
url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaAVANlYnNaur_fnKHgDaHB77cRt6GtO4hBk-MAAVsukjWdGSrO264XcgNPMeaxSSBvSeKbkgxL9bZ5xHEGhPYXcb4AdswD1eq55izjHP_hMSTnOBof5HN97eBKQh8o3wbZwVzBUVUnU4/w1-h26-no/ABT+nav2.jpg)
repeat-x;border:1px solid #000000;color:#fff;margin:2px;padding:6px 10px
5px;text-shadow: 1px 0 1px #000;}</style><script
type='text/javascript'>var postperpage=7;var numshowpage=6;var
upPageWord="Prev.";var downPageWord="Next";var
urlactivepage=location.href;var
home_page="/"</script><script
src='https://allbloggertips.googlecode.com/svn/ABT-Page-Navigation.js'
type='text/javascript'></script>
|
STYLE 2
<style>#blog-pager{clear:both;margin:20px 0 20px;font-size:
12px;padding:10px 0;}#blog-pager-newer-link{float:
left;}#blog-pager-older-link{float: right;}.Profile img{border:3px
solid;float:left;margin:5px 10px 5px
0;padding:2;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}.profile-data{color:#999999;font:bold
20px/1.6em
Arial,Helvetica,Tahoma,sans-serif;font-variant:small-caps;margin:0;text-transform:capitalize;}.profile-datablock{margin:0.5em
0;}.profile-textblock{line-height:1.6em;margin:0.5em
0;}a.profile-link{clear:both;display:block;font:80% monospace;padding:10px
0;text-align:center;text-transform:capitalize;}h2.date-header, .PageList
h2{display:none;}#blog-pager-older-link a,#blog-pager-newer-link
a,a.home-link,.showpageNum a,.showpage a{background:
url(https://lh3.googleusercontent.com/-w9ZA6PoJmXI/UaxcShxGABI/AAAAAAAAAD4/Cm_b0ycvJbg/w1-h26-no/ABT+nav4.jpg)
repeat-x;border:1px solid #ae4402;color:#fff;margin:2px;padding:6px 10px
5px;text-decoration:none;text-shadow: 1px 0 1px #000;}#blog-pager-older-link
a:hover,#blog-pager-newer-link
a:hover,a.home-link:hover,.showpageOf,.showpagePoint,.showpageNum
a:hover,.showpage a:hover{background:
url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaAVANlYnNaur_fnKHgDaHB77cRt6GtO4hBk-MAAVsukjWdGSrO264XcgNPMeaxSSBvSeKbkgxL9bZ5xHEGhPYXcb4AdswD1eq55izjHP_hMSTnOBof5HN97eBKQh8o3wbZwVzBUVUnU4/w1-h26-no/ABT+nav2.jpg)
repeat-x;border:1px solid #000000;color:#fff;margin:2px;padding:6px 10px
5px;text-shadow: 1px 0 1px #000;}</style><script
type='text/javascript'>var postperpage=7;var numshowpage=6;var
upPageWord="Prev.";var downPageWord="Next";var
urlactivepage=location.href;var
home_page="/"</script><script
src='https://allbloggertips.googlecode.com/svn/ABT-Page-Navigation.js'
type='text/javascript'></script>
|