-->

Saturday, 27 July 2013

0 Add Floating Facebook Like Box For Your Blog

at 10:14

facebook like box
Floating Facebook Like Box is now old concept. Just for completeness of a Tutorial blog site I am sharing this trick. Usually we place a Facebook Like Box at the sidebar or in template’s footer. Its aims to be a blog or website make well-known and ultimately it will help to increase traffic. However, if we just mouse over on widget then it will be visible, when we will take away then it won’t be visible. If help for those website who has insufficient space in sidebar or footer. Another features of this floating Facebook like box that you can change any background you like.  Just  follow the below steps to make Floating Facebook Like Box in your Blog Template.

Jquery Plugin For Floating Facebook Like Box

Step 1 Log in to your Blogger Account and Go to your Blogger Dashboard
Step 2 Now click on -> Template -> Edit HTML
Step 3 Now Find this code </Head> by pressing Ctrl + F
Step 4 Copy the below code and Paste it Before/above </Head>


<script type="text/javascript"> src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"
</script>
Note: Skip This step if you have already installed Jquery Plugin in your template.

HTML Code For Floating Facebook Like Box

Step 1 Go to your Layout tab.
Step 2 Click on "Add a Gadget" then select "HTML/JavaScript" Gadget.

Step 3 Now Copy the below code and paste it in "HTML/JavaScript" Gadget and Save it.

<script type="text/javascript">
//<!--
$(document).ready(function() {$(".floatinglikebox").hover(function() {$(this).stop().animate({right: "0"}, "medium");}, function() {$(this).stop().animate({right: "-250"}, "medium");}, 500);});
//-->
</script>
<style type="text/css">
.floatinglikebox{background: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUHhR0EY6GHmfEw6yhLNsn51WHL9sQ3q49cafBgsIojp59EdEGqGD2ykp7SdoAiqsQJ64zAOde0pFp3NrpA7fxA4ZM-30GlaoUg3eEFonx5OZSWQH_6A1gL4Eobv0fgfL0Ul5voef20Qfk/s320/BS+Facebook+Floting.png") no-repeat scroll left center transparent !important;display: block;float: right;height: 270px;padding: 0 5px 0 40px;width: 245px;z-index: 99999;position:fixed;right:-250px;top:20%;}
.floatinglikebox div{border:none;position:relative;display:block;}
.floatinglikebox span{bottom: 10px;font: 10px tahoma,verdana,arial,sans-serif;position: absolute;right: 6px;text-align: right;z-index: 99999;}
.floatinglikebox span a{color: #000000;text-decoration:none;}
.floatinglikebox span a:hover{text-decoration:underline;}
</style><div class="floatinglikebox" style=""><div><iframe src="//www.facebook.com/plugins/likebox.php?href=https://www.facebook.com/BloggerSpice&amp;width=251&amp;height=270&amp;colorscheme=light&amp;show_faces=true&amp;border_color=%23cccccc&amp;stream=false&amp;header=false&amp;appId=159468740772399" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:251px; height:270px; background:#FEFEFE;" allowtransparency="true"></iframe><span><a href="http://www.bloggerspice.com/2013/02/add-floating-facebook-like-box-for-your.html" target="_blank">+Get This!</a></span></div></div>

Customization


  • Change BloggerSpice with your Facebook Id
  • Change FEFEFE for background color. You can select color code from Here.
Share this article :

0 comments:

Post a Comment

 

Labels

Labels

Labels

Labels

Copyright © 2013. Blogger Spice - All Rights Reserved