Add Floating Facebook Like Box for Blogger


Posted by: Unknown on Saturday, September 21, 2013
Floating facebook like box for Blogger
This is how to add floating facebook like bok follow the instruction below:

1. Login To Blogger Account.
2. Click Layout > Add A Gadget.
3. Select HTML / Javascript > Paste The Following Code In content Box.
4. Now save and you are done.
---------------------------------------------------

<iframe src="//www.facebook.com/plugins/likebox.php?href=http://www.facebook.com/pages/ThingsGuide/281417998619583&width=292&height=258&colorscheme=light&show_faces=true&border_color&stream=false&header=false&" style="border:none; overflow:hidden; width:292px; height:258px;" >
----------------------------------------------------

Replace blue texts (pages/ThingsGuide/281417998619583) with your facebook page URL, Change Width And Height According To Your Template.

How to Apply Code:

1. Go To Dashboard > Template > Edit HTML
2. Search for </head> teg in your template and copy code and then paste before </head>teg
------------------------------------------
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js' type='text/javascript'/>
------------------------------------------
1. Go to Layout > Add A Gadget
2. Select HTML/Javascript
3. Paste the following code inside it,
-----------------------------------------------------------------
<script type="text/javascript">
 //<!--
 $(document).ready(function() {$(".w2bslikebox").hover(function() {$(this).stop().animate({right: "0"}, "medium");}, function() {$(this).stop().animate({right: "-250"}, "medium");}, 500);});
 //-->
 </script> <style type="text/css"> .w2bslikebox{background: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhg9yHWKrX8j_0D8CIP4rnMIe6eqLvyLPl5Hw0xnMFfP2nSUaOJ87CgTcHDHcUSV1AqJoUeL210w8wR7raEumHuleSYfBJrnZL0wGtBzbPpnzNPzYBOFQnr82JUGQUWLAwaKUNM_-fr08-5/s1600/FloatingFB.png") no-repeat scroll left center transparent !important;display: block;float: right;height: 270px;padding: 0 5px 0 46px;width: 245px;z-index: 99999;position:fixed;right:-250px;top:20%;} .w2bslikebox div{border:none;position:relative;display:block;} .w2bslikebox span{bottom: 12px;font: 8px "lucida grande",tahoma,verdana,arial,sans-serif;position: absolute;right: 6px;text-align: right;z-index: 99999;} .w2bslikebox span a{color: #808080;text-decoration:none;} .w2bslikebox span a:hover{text-decoration:underline;} </style><div class="w2bslikebox" style=""><div>
 <iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Ffacebook.com%2Fpages/ThingsGuide/281417998619583&amp;width=245&amp;colorscheme=light&amp;show_faces=true&amp; connections=9&amp;stream=false&amp;header=false&amp;height=270" scrolling="no" frameborder="0" scrolling="no" style="border: medium none; overflow: hidden; height: 270px; width: 245px;background:#fff;"></iframe><span><a style="font-family: arial, sans-serif; font-size: 9px; color: #999;" href="http://things-guide.blogspot.com/2012/07/how-to-add-facebook-like-box-into.html" target="_blank"> +Get this</a></span> </div> </div>
-----------------------------------------------------------------
4. Replace pages/ThingsGuide/281417998619583 with your Facebook fan page URL.
5. Now save your template and test your blogger with browsers!

No comments:

Post a Comment