This website for demo purposes.
Please visit www.Abu-Farhan.com

Friday, May 20, 2011

Five Styles Page Navigation for Blogger New Script Part 1

Bismillah…
Let me introduce myself, my name is Catur.
I am new staff that will work with Master Abu.
Nice to meet you guys …=)
This styles page navigation i got from WebDistortion but in these blogs do not provide page navigation for Blogger. So I have to convert it first so can be used in Blogger.
Maybe in the pagination style that I made not exactly the same as the original, but I try my best to make it seem like the page navigation at the original website.
This is view of those Page Navigations

Demo (Yahoo Style)
This Demo for All CSS Style Script :
  1. Style 1(Drupal)
  2. Style 2(Tutorial garden)
  3. Style 3(WK Top)
  4. Style 4(Yahoo)
  5. Style 5(Amazon)

Step 1 : Apply Style

  1. Login to Blogger Dashboard and navigate to Layout > Edit Html
  2. Don’t click the checkbox which says ‘Expand Widget Templates’
  3. Find this
]]></b:skin>
Copy the css script from the demo file.

Then insert the script in front of
]]></b:skin>
Example :
.blog-pager,#blog-pager{
 font-family:"Times New Roman", Times, serif;
 font-weight:normal;
 font-size:12px;
 width:500px;
}
.showpageNum a,.showpage a {
 background:transparent url('http://i1133.photobucket.com/albums/m596/abu-farhan/gbtn-bg.png') repeat-x;
 border:1px solid #97a7af;
 margin:0px 1px 0 1px;padding:3px 8px;
 text-decoration:none;
 color:#333;line-height:14px;cursor:pointer;white-space:nowrap;
 -webkit-border-radius:3px;-moz-border-radius:3px;
 }
.showpageNum a:hover,.showpage a:hover {
 background-image:url('http://i1133.photobucket.com/albums/m596/abu-farhan/gbtn-bg-sel.png');
 border:1px solid #e4905a;color:#e4905a;text-decoration:none;
 }
.showpageOf{
 margin:0 8px 0 0;
 }
.showpagePoint {
 background:transparent url('http://i1133.photobucket.com/albums/m596/abu-farhan/gbtn-bg-sel.png') repeat-x;
 margin:0 3px 0 3px;padding:3px 8px;
 line-height:14px;cursor:pointer;white-space:nowrap;
 -webkit-border-radius:3px;-moz-border-radius:3px;
 border:1px solid #e4905a;color:#333;text-decoration:none;font-weight:bold;
 }
]]></b:skin>

Step 2 : Aplly Javascript

Find This :
</body>
Replace with :

<script type='text/javascript'>;
var home_page='/';
var urlactivepage=location.href;
var postperpage=7;
var numshowpage=4;
var upPageWord ='Prev';
var downPageWord ='Next';
</script>;
<script src='http://scriptabufarhan.googlecode.com/svn/trunk/pagenaviv202-min.js' type='text/javascript'></script>
</body>
Change based on your blog setting :
var postperpage=7;
var numshowpage=4;
Postperpage : How many Post every Page for your blog
numshowpage : how Many number will show in Your page Navigation

Step 3 : Customize Label (if you already use my previous Page Navi don’t use this step)

Go to the Edit HTML page and “Expand Widget Templates”
Find this (all of this text in your xml or template)
'data:label.url'
and Replace with this
'data:label.url + &quot;?&amp;max-results=7&quot;'
Change 7 base on how many post every page
In the next post, I will give you 5 other styles page navigation…
If you have any questions please leave a comment. thank you
Alhamdulillah…
Another post about the page navigation for Blogger :
  1. Numbered Page Navigation For Blogger New Script
  2. Six Styles Page Navigation for Blogger
  3. Beautiful New Page Navi For Blogger With Scroll
  4. Page navigation for Blogger with Google Style
  5. Page Navigation for Blogger (Problems Solved)

1 comments:

Anonymous said...

Goood Man , and a very very good work !!! congratulations

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Best Web Host