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

Friday, May 20, 2011

Page navigation for Blogger with Google style using New Script

Bismillah,..
Google, who does not know google!? ..
A search engine most used by internet users … especially users of Blogger.
Actually Abu Farhan have been post about page navigation with google style …
“Page Navigation for Blogger with Google Style”
But in that article can only be used on old navigation script ..
So I make a css script for google style using new navigation script…
Please look carefully, css and javascript scripts are different from my previous scripts …So follow the instructions below for running well …
The following is how it looks

This Demo for Google Style:
Demo
Google Style :
Google Style

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{ background-color: #FFFFFF;width:100%,text-align:center;}
td.showpageOf{display:none;}
#nav{font-family: Arial, Helvetica, sans-serif; font-size:12px;margin:0 auto;}
#nav a{display:block; text-decoration:none; color: #0066FF}
#nav a:hover{ text-decoration:underline;}
#nav .b a,#nav .b a:visited{color: #0000CC; text-decoration: underline; font-weight:bold}
.cur{ font-weight:bold;}
.csb{background:url(http://www.google.com/images/nav_logo7.png) no-repeat 0 0;height:26px;display:block;}
.csb.cur{background-position: -44px 0pt; width: 16px;}
.csb.movenext{color:#20c;background-position: -76px 0pt; margin-right: 42px; width: 66px;}
.csb.moveprev{color:#20c;background-position: 0pt 0pt; margin-left: 42px; width: 44px;}
.csb.ch{background-position: -60px 0pt; width: 16px;}
#nav td{padding:0;text-align:center}
]]></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://accordion-template.googlecode.com/svn/trunk/jsnavigoogle-packer.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
Alhamdulillah…by Catur
Another post about the page navigation for Blogger :
  1. Five Styles Page Navigation for Blogger New Script Part 2
  2. Five Styles Page Navigation for Blogger New Script Part 1
  3. Numbered Page Navigation For Blogger New Script
  4. Six Styles Page Navigation for Blogger
  5. Beautiful New Page Navi For Blogger With Scroll

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

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