Add Floating Facebook Like Box in Blogger


This is a great way which requires alomost no space and it looks more attractive also.... 

                                                       
                                                      ( Click on the Pic to enlarge it )




Adding Jquery Plugin

1. Sign in to Blogger

2. Go to your Dashboard>Design>Edit HTML

3. Add this code above the closing </head> tag in your HTML file:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript">
</script>

Ignore this step if you have added Jyquery plugin to your blog.


Adding Widget Code

1. Go to Design>Add a Gadget>HTML/JavaScript

2. Add This code to HTML/JavaScript Widget


<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/AVvXsEhqIfofMDPEvWZ0TT1PsCb1NrxK83EgT4B9VAl5lHQRBC9eLsm1s-pAKkE_kkpdvTQBAWtgXhBPy_2ARQbnIIdkADFYZmicL0o1WIBEk9hxb6_5-tMfw22nKdJSifn0lhywQb2K843fLEo/s1600/floatingfb.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: #808080;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=http%3A%2F%2Fwww.facebook.com%2dstuffs&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:#fff;" allowtransparency="true"></iframe><span><a href="http://www.dstuffs.co.cc/2012/08/add-floating-facebook-like-box-in.html" target="_blank">+Get This!</a></span></div></div>


Replace http%3A%2F%2Fwww.facebook.com%Dstuffs, with your Facebook fan page URL.

Remember!

Before replacing URL, replace these symbols:

: with %3A

/ with %2F

for example, if your URL like this:

http://www.facebook.com/dstuffs

It will look like this:

http%3A%2F%2Fwww.facebook.com%2Fpages%2Fdstuffs%2F1234567






7 comments:

  1. thank you very much for this awesome widget..

    ReplyDelete
  2. i added as you said to my blog its working nice thanks ! please can you give the same type of floating bar of twitter also ??

    ReplyDelete
    Replies
    1. yea sure i vll soon post a trick for twitter also by that time keep visitng !! :)

      Delete
  3. i just love your blog its just amazing ! nice tricks thank you very much !

    ReplyDelete
  4. tHNx dea.. anythin you need, request here.. it will be given to you as soon as possible..:D

    ReplyDelete
  5. Just cant say anything !! Excellent ! Thank you very much !

    ReplyDelete
  6. Awesome working very fine !

    ReplyDelete

Don't Know How To Download?
For Other Qustions Please Check Our Help Page
Links are Dead/Not working? Please Make A comment.We will update.

Related Posts Plugin for WordPress, Blogger...