Stylish thumbs up social sharing buttons for blogger | Blogger ustaad
Social thumbs up sharing widget will very helpful for your visitors to share post on social sites quick and easily. If a visitor share your post on social site other peoples will defiantly come to your blog and your blog traffic will increase quickly.
You can Easily add this widget to blogger.
Follow these steps for adding this widget.
- First Go to blogger dashboard
- Layout
- Add a Widget > HTML/java script
- Paste the Following code
<script>
window.onload = function() {
function getScrollTop() {
if (typeof window.pageYOffset !== 'undefined' ) {
// Most browsers
return window.pageYOffset;
}
var d = document.documentElement;
if (d.clientHeight) {
// IE in standards mode
return d.scrollTop;
}
// IE in quirks mode
return document.body.scrollTop;
}
window.onscroll = function() {
var box = document.getElementById('Scrolling-fixed'),
scroll = getScrollTop();
if (scroll <= 700) {
box.style.top = "760px";
}
else {
box.style.top = (scroll + 60) + "px";
}
};
}
</script>
<style>
#Scrolling-fixed {
position: absolute;
}
#floatdiv {
bottom:15%;
margin-left:-850px;
z-index:-9999;
float:left;
padding-bottom:2px;
}
#mbtsidebar {
background:#fff;
border-top:2px solid #90A4BF;
border-left:1px solid #90A4BF;
border-bottom:1px solid #90A4BF;
border-right:1px solid #90A4BF;
border-radius:8px;
-moz-border-radius:5px;
-webkit-border-radius:5px;
padding-left:5px;
width:60px;
margin:0 0 0 5px;
}
.fb_share_count_top {width:52px !important;}
.fb_share_count_top, .fb_share_count_inner {-moz-border-radius:3px;-webkit-border-radius:3px;}
.FBConnectButton_Small, .FBConnectButton_RTL_Small {width:52px !important; -moz-border-radius:3px;/*bs-fsmsb*/-webkit-border-radius:3px;}
.FBConnectButton_Small .FBConnectButton_Text {padding:2px 2px 3px !important;-moz-border-radius:3px;-webkit-border-radius:3px;font-size:8px;}
</style>
<div id="Scrolling-fixed">
<div id="floatdiv">
<div id="mbtsidebar">
<table cellpadding="1px" cellspacing="0">
<tr>
<td style="padding:5px 0px 0px 0;">
<span><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQjeN1-8F2Gw18ShJ1iws3UBp9nXUah3UbdGRVrIduwbWfrTZ504PUsLsUPlFPVeX86ppUoJ6-flkiYESjS45Hm2qe_uDMS2X6MwafJW_LJPE2d02U-JPmY4kmVKNpLF7asfZ71XaoL_A/s1600/thumbs+up.png" /></span>
</td>
</tr>
<tr>
<td style="padding:5px 0px 0px 0;">
<a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-via="Bloggingehow">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
</td>
</tr>
<tr>
<td style="padding:5px 0 2px 0;">
<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="" send="false" layout="box_count" show_faces="false" font=""></fb:like>
</td>
</tr>
<tr>
<td style=" padding:5px 0px 0px 0px;">
<script src='http://apis.google.com/js/plusone.js' type='text/javascript'> {lang: 'en-US'} </script>
<g:plusone size="Tall" expr:href="data:post.url">
</g:plusone></td>
</tr>
<tr>
<td style="padding:2px 0px 0px 0;">
<Script Language='Javascript'>
<!--
document.write(unescape('%3C%70%20%73%74%79%6C%65%3D%22%20%6C%69%6E%65%2D%68%65%69%67%68%74%3A%30%70%78%3B%20%66%6F%6E%74%2D%73%69%7A%65%3A%37%70%78%3B%20%66%6F%6E%74%2D%77%65%69%67%68%74%3A%62%6F%6C%64%3B%20%74%65%78%74%2D%61%6C%69%67%6E%3A%72%69%67%68%74%22%3E%3C%61%20%73%74%79%6C%65%3D%22%63%6F%6C%6F%72%3A%23%44%33%44%33%44%33%3B%22%20%68%72%65%66%3D%22%68%74%74%70%3A%2F%2F%77%77%77%2E%62%6C%6F%67%67%69%6E%67%65%68%6F%77%2E%63%6F%6D%22%3E%50%6C%75%67%69%6E%20%62%79%3A%20%42%6C%6F%67%67%69%6E%67%65%68%6F%77%2E%63%6F%6D%3C%2F%61%3E%3C%2F%70%3E%20'));
//-->
</Script>
</td>
</tr>
</table>
</div>
</div></div>
Now save and check.
Video tut :
How to add social thumbs up sharing buttons in... by zubair1270
Out Of Topic Show Konversi KodeHide Konversi Kode Show EmoticonHide Emoticon