Saturday 28 January 2012

How to Add Floating ( Sliding ) Share Buttons To Blogger Sidebar



Hi friend you are her today to learn How to Add Floating ( Sliding ) Share Buttons To Blogger Sidebar. you must have seen in many wordpress or other blogs. Now i will tell you for Blogger how to add a floating share buttons widget.It will appear outsid of your post sections and as you scroll the page, this widget will also scroll with some animation effects.

How to Add Floating ( Sliding ) Share Buttons To Blogger Sidebar :

  •  To Add this follow these steps.
  • Login to your Blogger Account.
  • Goto Design>>Page Elements.
  • Now click on Add a Gadet.
  • Now select  HTML/Javascript
  • Now copy this folwoing Red code in Content the box.


<!-- floating share bar Start blogger4ever.com-->
<style type="text/css">
#pageshare {
float:left;
margin-left:-80px;
background: #fafafa;
position:fixed;
bottom:20%;
border:1px solid #e5e5e5;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
#pageshare:hover {
background-color:#ffffff;-webkit-box-shadow:0px 2px 2px rgba(0,0,0,.1);-moz-box-shadow:0px 2px 2px rgba(0,0,0,.1);box-shadow:0px 2px 2px rgba(0,0,0,.1);}
#pageshare .sbutton {
float:left;clear:both;margin:5px 5px 0 5px;}</style>

<div id='pageshare' title="Get this Widget from    How To All Tools.com">
<div class='sbutton' id='tweet'>
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
<a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-via="YOUR TWITTER USERNAME">Tweet</a> </div>
<div class='sbutton' id='su'>
<script src="http://www.stumbleupon.com/hostedbadge.php?s=5"></script>
</div>
<div class='sbutton' id='gplusone'>
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<g:plusone size="tall"></g:plusone> </div>
<div class='sbutton' id='fbshare'>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like" data-send="true" data-layout="box_count" data-width="50" data-show-faces="false"></div></div>
<div style="clear: both;font-size: 10px;text-align:center;"><a href="http://howtoalltools.blogspot.com/2012/01/how-to-add-floating-sliding-share.html">Get Widget</a></div><!-- Do not remove this link --> </div>
<!-- floating share bar End --> 
  • Save it.
  • Drag it under Blog Post section.
  • You done it, Alway comment and subscribe us.

5 comments: