Floating Facebook Like, Share, Google Plus One +1 Button Gadget HTML Code For Blogger

Steps to Implement the code.

  1. Go to Blogger Dashboard > Design > Page Elements.
  2. Click Add A Gadget.
  3. In Add A Gadget window, select HTML / Javascript.
  4. Copy below mentioned code and paste it inside the window.
  5. Click Save.


Note: Adjust the values mentioned in the code with RED color to adjust the position according to your blog.

HTML Code:

<!-- shonythomas.blogspot.com-->
<style> 
#pageshare {position:fixed; bottom:43%; margin-left:-880px; float:left; border-radius:5px;-moz-border-radius:5px;-webkit-border-

radius:5px;background-color:#fff;padding:0 0 2px 0;z-index:10;} 
#pageshare .sbutton {float:left;clear:both;margin:5px 5px 0 5px;} 
.fb_share_count_top {width:48px !important;} 
.fb_share_count_top, .fb_share_count_inner {-moz-border-radius:3px;-webkit-border-radius:3px;} 
.FBConnectButton_Small, .FBConnectButton_RTL_Small {width:49px !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='pageshare' title="Share this on Facebook"> 

<div class='sbutton' id='fb'> 
<center><p style="font-family: tahoma,arial; font-size: 12px; width: 55px; margin: 0pt;">Pls share this page</p></center>
<a name="fb_share" type="box_count" href="http://www.facebook.com/sharer.php">Share</a><script
src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script> 
</div> 

<div class='sbutton' id='flike'>
<iframe src="http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&layout=box_count&show_faces=true&width=50& action=like&font&colorscheme=light&height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px; height:25px;" allowtransparency="true"></iframe>
</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 id="Get this"> <p style='font-size: x-small; color: #edda74;'> <a href=’http://shonythomas.blogspot.com/2011/12/floating-facebook-like-share-google.html’> <center> Get This</center> </a> </p> </div>

</div>
DBA Tips Data Pump Reference

0 comments:

Post a Comment

 

dba topics. Copyright 2011-16 All Rights Reserved | Site Map | Contact | Disclaimer | Google