In this post, im gonna explain how to add blogger page number navigation widget with nice style.
I will include 3 style. You can choose it as your like.This will helps to your visitors to visit everypage in your blog. Im using java script ,CSS and HTML for this widget.You can get my earlier post
about number navigation here.
မူရင္းဆိုက္ကေတာ့ http://www.bloggertrix.com/ ပါ
1. Log in to blogger account and Click drop down.
2. Now select "Template" Like Below.
3. Click Add Gadget and select 'HTML/Javascript
4. Paste below one of below code.
Style 1
<style type="text/css">.blog-pager,#blog-pager{font-family:arial, serif;font-weight:bold;font-size:12px;width:98%;}.showpageNum a,.showpage a {background:transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv0WHkwNfgtl5BH4h3bQS1er01r0We0eZ-xYxrHxCvCWzgpWi1cLGk_mFYtcmWZ475bZ38PbP3llTOEeoDnll6nFoDwOa4Sh_OJJcOj00U-kpAeEjMRCcaLKUv9don4FWBXpRGkbU0-pI/s1600/yellow-butt.png) repeat-x;background-position:0px -43px;border:1px solid #FD6C02;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;
margin:0px 1px 0 1px;padding:3px 10px;color:#EEEEEE;line-height:30px;cursor:pointer;}.showpageNum a:hover,.showpage a:hover {
background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv0WHkwNfgtl5BH4h3bQS1er01r0We0eZ-xYxrHxCvCWzgpWi1cLGk_mFYtcmWZ475bZ38PbP3llTOEeoDnll6nFoDwOa4Sh_OJJcOj00U-kpAeEjMRCcaLKUv9don4FWBXpRGkbU0-pI/s1600/yellow-butt.png) repeat-x;background-position:-10px -43px;
border:1px solid #FB5106;-webkit-border-radius:7px;
-moz-border-radius:7px;border-radius:7px;color:#ffffff;-text-decoration:underline;}.showpageOf{margin:0 8px 0 0;
background:transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv0WHkwNfgtl5BH4h3bQS1er01r0We0eZ-xYxrHxCvCWzgpWi1cLGk_mFYtcmWZ475bZ38PbP3llTOEeoDnll6nFoDwOa4Sh_OJJcOj00U-kpAeEjMRCcaLKUv9don4FWBXpRGkbU0-pI/s1600/yellow-butt.png) repeat-x;background-position:0px -43px;border:1px solid #FD6C02;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;line-height:30px;padding:3px 10px;color:#ffffff;}.showpagePoint {background:transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv0WHkwNfgtl5BH4h3bQS1er01r0We0eZ-xYxrHxCvCWzgpWi1cLGk_mFYtcmWZ475bZ38PbP3llTOEeoDnll6nFoDwOa4Sh_OJJcOj00U-kpAeEjMRCcaLKUv9don4FWBXpRGkbU0-pI/s1600/yellow-butt.png) repeat-x;background-position:-55px -43px;margin:0 3px 0 3px;padding:3px 10px;line-height:30px;cursor:pointer;white-space:nowrap;border:1px solid #FB5106;-webkit-border-radius:7px; -moz-border-radius:7px;border-radius:7px;color:#FFFFFF;text-decoration:underline;font-weight:bold;} </style>
<a href="http://bloggertrix.com/" target="_blank" title="Free Backlinks"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimebRr2kj5KXBCrodeKr2uNdbts8gX3JYzr288eq2fUX6ejvKUHsS723A520qrTlF1fxxNfjBKRmfq2kFHvvL8UVaaYN-Aqh5y5kZn3cE2Ggu0KMR1E68YbBfav2-FwQQm-7vJBBE-KPk/s1600/page-number.png" alt="Free Backlinks" border="0" style="position: fixed; bottom: 10%; right: 0%;" /></a>
<script style='text/javascript'>
var postperpage=5;
var numshowpage=3;
var upPageWord="Prev";
var downPageWord="Next";
var home_page="/";
var urlactivepage=location.href;
</script>
<script style='text/javascript' src='http://bloggertrix.googlecode.com/files/bloggertrix.js'></script>
Style 2
<style type="text/css">.blog-pager,#blog-pager{font-family:arial, serif;font-weight:bold;font-size:12px;width:98%;}.showpageNum a,.showpage a {background:transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdSPny7s9oiXM5C11H69WH4im_atA5-Qv7Mf0AyTimHkmmsyxj1f2PqPyX5SC4ZXUFVX_u2CI5Z5uQ-nY2H56ffeVOudYSif46Y435CgBL9470hAt0KhLQBywbNvE4i25PL97c2rQHLe0/s1600/greendiamond.png) repeat-x;background-position:0px -0px;border:2px solid #555;-webkit-border-radius:20px;-moz-border-radius:20px;border-radius:20px;margin:0px 1px 0 1px;padding:3px 10px;color:#EEE;line-height:30px;cursor:pointer;-webkit-box-shadow:6px 6px 12px 4px rgba(0,0,0, 0.2);-moz-box-shadow:6px 6px 12px 4px rgba(0,0,0, 0.2);box-shadow:6px 6px 12px 4px rgba(0,0,0, 0.2);}.showpageNum a:hover,.showpage a:hover {
background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdSPny7s9oiXM5C11H69WH4im_atA5-Qv7Mf0AyTimHkmmsyxj1f2PqPyX5SC4ZXUFVX_u2CI5Z5uQ-nY2H56ffeVOudYSif46Y435CgBL9470hAt0KhLQBywbNvE4i25PL97c2rQHLe0/s1600/greendiamond.png) repeat-x;background-position:0px -30px;
border:2px solid #006666;-webkit-border-radius:20px;
-moz-border-radius:20px;border-radius:20px;color:#FFF;-text-decoration:underline;}.showpageOf{margin:0 8px 0 0;
background:transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdSPny7s9oiXM5C11H69WH4im_atA5-Qv7Mf0AyTimHkmmsyxj1f2PqPyX5SC4ZXUFVX_u2CI5Z5uQ-nY2H56ffeVOudYSif46Y435CgBL9470hAt0KhLQBywbNvE4i25PL97c2rQHLe0/s1600/greendiamond.png) repeat-x;background-position:0px -0px;border:2px solid #555;-webkit-border-radius:20px;-moz-border-radius:20px;border-radius:20px;line-height:30px;padding:3px 10px;color:#EEE;-webkit-box-shadow:6px 6px 12px 4px rgba(0,0,0, 0.2);-moz-box-shadow:6px 6px 12px 4px rgba(0,0,0, 0.2);box-shadow:6px 6px 12px 4px rgba(0,0,0, 0.2);}.showpagePoint {background:transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdSPny7s9oiXM5C11H69WH4im_atA5-Qv7Mf0AyTimHkmmsyxj1f2PqPyX5SC4ZXUFVX_u2CI5Z5uQ-nY2H56ffeVOudYSif46Y435CgBL9470hAt0KhLQBywbNvE4i25PL97c2rQHLe0/s1600/greendiamond.png) repeat-x;background-position:0px -30px;margin:0 3px 0 3px;padding:3px 10px;line-height:30px;cursor:pointer;white-space:nowrap;border:2px solid #007777;-webkit-border-radius:20px; -moz-border-radius:20px;border-radius:20px;color:#EEE;text-decoration:underline;font-weight:bold;-webkit-box-shadow:6px 6px 12px 4px rgba(0,0,0, 0.2);-moz-box-shadow:6px 6px 12px 4px rgba(0,0,0, 0.2);box-shadow:6px 6px 12px 4px rgba(0,0,0, 0.2);} </style>
<a href="http://bloggertrix.com/" target="_blank" title="Free Backlinks"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimebRr2kj5KXBCrodeKr2uNdbts8gX3JYzr288eq2fUX6ejvKUHsS723A520qrTlF1fxxNfjBKRmfq2kFHvvL8UVaaYN-Aqh5y5kZn3cE2Ggu0KMR1E68YbBfav2-FwQQm-7vJBBE-KPk/s1600/page-number.png" alt="Free Backlinks" border="0" style="position: fixed; bottom: 10%; right: 0%;" /></a>
<script style='text/javascript'>
var postperpage=5;
var numshowpage=3;
var upPageWord="Prev";
var downPageWord="Next";
var home_page="/";
var urlactivepage=location.href;
</script>
<script style='text/javascript' src='http://bloggertrix.googlecode.com/files/bloggertrix.js'></script>
Style 3
<style type="text/css">.blog-pager,#blog-pager{font-family:arial, serif;font-weight:bold;font-size:12px;width:98%;}.showpageNum a,.showpage a {
background:transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwQs5wk-X_1dEsHnSVgJLRnBBsTLfPJtlMJyrXRA8QuqWWBfTTlGwFKdOsO0j16yWh2fnDI_pdqZrDU1wEntcRGdiNa5Aizr68qtrBfMgAoS9B0vtChhvMl1Xzgrbo1wgaa5o_uodH1eU/s1600/darkblue.png) repeat-x;
border:2px solid #5C8CFB;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;
margin:0px 1px 0 1px;padding:3px 10px;color:#FFF;line-height:30px;cursor:pointer;white-space:nowrap;
}.showpageNum a:hover,.showpage a:hover {
background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwQs5wk-X_1dEsHnSVgJLRnBBsTLfPJtlMJyrXRA8QuqWWBfTTlGwFKdOsO0j16yWh2fnDI_pdqZrDU1wEntcRGdiNa5Aizr68qtrBfMgAoS9B0vtChhvMl1Xzgrbo1wgaa5o_uodH1eU/s1600/darkblue.png) repeat-x;
border:2px solid #5C8CFB;-webkit-border-radius:7px;
-moz-border-radius:7px;border-radius:7px;color:#e4905a;text-decoration:none;
}.showpageOf{
margin:0 8px 0 0;
background:transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwQs5wk-X_1dEsHnSVgJLRnBBsTLfPJtlMJyrXRA8QuqWWBfTTlGwFKdOsO0j16yWh2fnDI_pdqZrDU1wEntcRGdiNa5Aizr68qtrBfMgAoS9B0vtChhvMl1Xzgrbo1wgaa5o_uodH1eU/s1600/darkblue.png) repeat-x;border:2px solid #5C8CFB;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;
line-height:30px;padding:3px 10px;color:#FFF;
}.showpagePoint {
background:transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwQs5wk-X_1dEsHnSVgJLRnBBsTLfPJtlMJyrXRA8QuqWWBfTTlGwFKdOsO0j16yWh2fnDI_pdqZrDU1wEntcRGdiNa5Aizr68qtrBfMgAoS9B0vtChhvMl1Xzgrbo1wgaa5o_uodH1eU/s1600/darkblue.png) repeat-x;
margin:0 3px 0 3px;padding:3px 10px;
line-height:30px;cursor:pointer;white-space:nowrap;
border:2px solid #5C8CFF;-webkit-border-radius:7px;
-moz-border-radius:7px;border-radius:7px;color:#e4905a;text-decoration:underline;font-weight:bold;
} </style>
<a href="http://bloggertrix.com/" target="_blank" title="Free Backlinks"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimebRr2kj5KXBCrodeKr2uNdbts8gX3JYzr288eq2fUX6ejvKUHsS723A520qrTlF1fxxNfjBKRmfq2kFHvvL8UVaaYN-Aqh5y5kZn3cE2Ggu0KMR1E68YbBfav2-FwQQm-7vJBBE-KPk/s1600/page-number.png" alt="Free Backlinks" border="0" style="position: fixed; bottom: 10%; right: 0%;" /></a>
<script style='text/javascript'>
var postperpage=5;
var numshowpage=3;
var upPageWord="Prev";
var downPageWord="Next";
var home_page="/";
var urlactivepage=location.href;
</script>
<script style='text/javascript' src='http://bloggertrix.googlecode.com/files/bloggertrix.js'></script>
7. Now save your HTML/Javascript'.
You are done...
မူရင္းဆိုက္ကေတာ့ ဒီမွာပါကြယ္..http://www.bloggertrix.com/2012/11/attractive-numbered-page-navigation.html
0 comments:
Post a Comment