Wednesday 13 November 2013

I'm thinking of posting a series of blog design. It is also consistent with the'll post it. In fact, many of them know, again, I think, is unknown number. But those who hope to beneficiaries as they will be new.
Today, I'll discuss how to use menu navigation, on your Blogspot blog pages. For example, our Internet Marketing Freelancer Tips pages at the bottom of the page you'll see that the number of pages, but by default it just Blogspot blog.

Blogger is not a plugin, Wedget To use is so better not any Wedget. So today we will try to putting this thing template Javascript code. Desired Design from the first login to your blog and then go to Edit html. The following code, then press cont + F to find it.
]]></b:skin>

If getting top line his code just copy the code below with paste it in the Enter.

.showpageArea a {
text-decoration:underline;
}
.showpageNum a {
text-decoration:none;
border: 1px solid #ccc;
margin:0 3px;
padding:3px;
}
.showpageNum a:hover {
border: 1px solid #ccc;
background-color:#ccc;
}
.showpagePoint {
color:#333;
text-decoration:none;
border: 1px solid #ccc;
background: #ccc;
margin:0 3px;
padding:3px;
}
.showpageOf {
text-decoration:none;
padding:3px;
margin: 0 3px 0 0;
}
.showpage a {
text-decoration:none;
border: 1px solid #ccc;
padding:3px;
}
.showpage a:hover {
text-decoration:none;
}
.showpageNum a:link,.showpage a:link {
text-decoration:none;
color:#333;
}

The second stage of the template Save the following code to find out.
</body>

Get It's just the bottom line of the following code in the Java code and putting.
<script style=’text/javascript’>
var pageCount=5;
var displayPageNum=2;
var upPageWord=&quot;Previous&quot;;
var downPageWord=&quot;Next&quot;;
</script>
<script type=’text/javascript’>
//<![CDATA[
var home_page_url=location.href;function showpageCount(json){var thisUrl=home_page_url;var htmlMap=new Array();var thisNum=1;var postNum=1;var itemCount=0;var fFlag=0;var eFlag=0;var html='';var upPageHtml='';var downPageHtml='';for(var i=0,post;post=json.feed.entry[i];i++){var timestamp1=post.published.$t.substring(0,19)+post.published.$t.substring(23,29);timestamp=encodeURIComponent(timestamp1);var title=post.title.$t;if(title!=”){if(itemCount==0||(itemCount%pageCount==(pageCount-1))){if(thisUrl.indexOf(timestamp)!=-1){thisNum=postNum}if(title!=”)postNum++;htmlMap[htmlMap.length]=’/search?updated-max=’+timestamp+’&max-results=’+pageCount}}itemCount++}for(var p=0;p<htmlMap.length;p++){if(p>=(thisNum-displayPageNum-1)&&p<(thisNum+displayPageNum)){if(fFlag==0&&p==thisNum-2){if(thisNum==2){upPageHtml=’<span><a href=”/”>’+upPageWord+’</a></span>’}else{upPageHtml=’<span><a href=”‘+htmlMap[p]+’”>’+upPageWord+’</a></span>’}fFlag++}if(p==(thisNum-1)){html+=’<span>’+thisNum+’</span>’}else{if(p==0){html+=’<span><a href=”/”>1</a></span>’}else{html+=’<span><a href=”‘+htmlMap[p]+’”>’+(p+1)+’</a></span>’}}if(eFlag==0&&p==thisNum){downPageHtml=’<span> <a href=”‘+htmlMap[p]+’”>’+downPageWord+’</a></span>’;eFlag++}}}if(thisNum>1){html=”+upPageHtml+’ ‘+html+’ ‘}html=’<div><span style=”COLOR: #000;”> Pages (‘+(postNum-1)+’)</span>’+html;if(thisNum<(postNum-1)){html+=downPageHtml}if(postNum==1)postNum++;html+=’</div>’;var pageArea=document.getElementsByName(“pageArea”);var blogPager=document.getElementById(“blog-pager”);if(postNum<=2){html=”}for(var p=0;p<pageArea.length;p++){pageArea[p].innerHTML=html}if(pageArea&&pageArea.length>0){html=”}if(blogPager){blogPager.innerHTML=html}}function showpageCount2(json){var thisUrl=home_page_url;var htmlMap=new Array();var isLablePage=thisUrl.indexOf(“/search/label/”)!=-1;var thisLable=isLablePage?thisUrl.substr(thisUrl.indexOf(“/search/label/”)+14,thisUrl.length):”";thisLable=thisLable.indexOf(“?”)!=-1?thisLable.substr(0,thisLable.indexOf(“?”)):thisLable;var thisNum=1;var postNum=1;var itemCount=0;var fFlag=0;var eFlag=0;var html=”;var upPageHtml=”;var downPageHtml=”;var labelHtml=’<span><a href=”/search/label/’+thisLable+’?&max-results=’+pageCount+’”>’;var thisUrl=home_page_url;for(var i=0,post;post=json.feed.entry[i];i++){var timestamp1=post.published.$t.substring(0,19)+post.published.$t.substring(23,29);timestamp=encodeURIComponent(timestamp1);var title=post.title.$t;if(title!=”){if(itemCount==0||(itemCount%pageCount==(pageCount-1))){if(thisUrl.indexOf(timestamp)!=-1){thisNum=postNum}if(title!=”)postNum++;htmlMap[htmlMap.length]=’/search/label/’+thisLable+’?updated-max=’+timestamp+’&max-results=’+pageCount}}itemCount++}for(var p=0;p<htmlMap.length;p++){if(p>=(thisNum-displayPageNum-1)&&p<(thisNum+displayPageNum)){if(fFlag==0&&p==thisNum-2){if(thisNum==2){upPageHtml=labelHtml+upPageWord+’</a></span>’}else{upPageHtml=’<span><a href=”‘+htmlMap[p]+’”>’+upPageWord+’</a></span>’}fFlag++}if(p==(thisNum-1)){html+=’<span>’+thisNum+’</span>’}else{if(p==0){html=labelHtml+’1</a></span>’}else{html+=’<span><a href=”‘+htmlMap[p]+’”>’+(p+1)+’</a></span>’}}if(eFlag==0&&p==thisNum){downPageHtml=’<span> <a href=”‘+htmlMap[p]+’”>’+downPageWord+’</a></span>’;eFlag++}}}if(thisNum>1){if(!isLablePage){html=”+upPageHtml+’ ‘+html+’ ‘}else{html=”+upPageHtml+’ ‘+html+’ ‘}}html=’<div><span style=”COLOR: #000;”> Pages (‘+(postNum-1)+’)</span>’+html;if(thisNum<(postNum-1)){html+=downPageHtml}if(postNum==1)postNum++;html+=’</div>’;var pageArea=document.getElementsByName(“pageArea”);var blogPager=document.getElementById(“blog-pager”);if(postNum<=2){html=”}for(var p=0;p<pageArea.length;p++){pageArea[p].innerHTML=html}if(pageArea&&pageArea.length>0){html=”}if(blogPager){blogPager.innerHTML=html}}var thisUrl=home_page_url;if(thisUrl.indexOf(“/search/label/”)!=-1){if(thisUrl.indexOf(“?updated-max”)!=-1){var lblname1=thisUrl.substring(thisUrl.indexOf(“/search/label/”)+14,thisUrl.indexOf(“?updated-max”))}else{var lblname1=thisUrl.substring(thisUrl.indexOf(“/search/label/”)+14,thisUrl.indexOf(“?&max”))}}var home_page=”/”;if(thisUrl.indexOf(“?q=”)==-1&&thisUrl.indexOf(“.html”)==-1){if(thisUrl.indexOf(“/search/label/”)==-1){document.write(‘<script src=”‘+home_page+’feeds/posts/summary?alt=json-in-script&callback=showpageCount&max-results=99999″ ><\/script>’)}else{document.write(‘<script src=”‘+home_page+’feeds/posts/full/-/’+lblname1+’?alt=json-in-script&callback=showpageCount2&max-results=99999″ ><\/script>’)}}
//]]>
</script>

It hope you can use the template Save. Now look at your blog and see this film as can be seen below. Hooray, you went hear!


Here is the post if you want more than 2 pages Show at the following code to find 2 its the facility, such as the putting in place of your selection.
var displayPageNum=2

You find the following code that shows how many pages you can take advantage of the change ...
var pageCount=5;

We hope you understand matter. I think I can do now. The only problem is when they tell you. I wanted to write this post I will be in my past.

All Well and Healthy

Leave a Reply

Subscribe to Posts | Subscribe to Comments

Language Translate

Online Traffic

Popular Post

Powered by Blogger.

Flag Counter

Flag Counter
Protected by Copyscape Web Plagiarism Tool

- Copyright 2013 © Internet Marketing Freelancer Tips -Bollywood Dhamaal- Powered by EM Raihan Hossen - Designed by EM Raihan Hossen -