Add Static Facebook Pop Out Like Box with Smooth Jquery Hover Effect


In this tutorial i will show you how to add a cool floating Facebook like widget for Blogger that slides to the left on mouseover. Demo: You can see a static facebook badge at the right side of this blog

Facebook Pop Out Like Box
Adding Static Facebook Like widget on blogger

Just follow the steps:

1. Log in to your Blogger Dashboard, go to Design >> Edit HTML

2. Check the “Expand Widget Templates” box

3. Search (CTRL + F) for this tag:

4. Add the following code just before/above </head> tag:

<script src=””></script>
5. Save the Template.

6. Now go to Design >> Page Elements >> Add a new Gadget >> Choose HTML/JavaScript and in the HTML box, paste the code below:

<style type=”text/css”>
#fbplikebox{display: block;padding: 0;z-index: 99999;position: fixed;}
.fbplbadge {background-color:#3B5998;display: block;height: 150px;top: 50%;margin-top: -75px;position: absolute;left: -47px;width: 47px;background-image: url(“”);background-repeat: no-repeat;overflow: hidden;-webkit-border-top-left-radius: 8px;-webkit-border-bottom-left-radius: 8px;-moz-border-radius-topleft: 8px;-moz-border-radius-bottomleft: 8px;border-top-left-radius: 8px;border-bottom-left-radius: 8px;}
<script type=”text/javascript”>
            var $dur = “medium”; // Duration of Animation
            w2b(“#fbplikebox”).css({right: -250, “top” : 100 })
            w2b(“#fbplikebox”).hover(function () {
                    right: 0
                }, $dur);
            }, function () {
                    right: -250
                }, $dur);
<div id=”fbplikebox” style=”display:none;”>
    <div class=”fbplbadge”></div>
    <iframe src=”;width=250&amp;height=250&amp;colorscheme=light&amp;show_faces=true&amp;border_color=%23C4C4C4&amp;stream=false&amp;header=false” scrolling=”no” frameborder=”0″ style=”border:none; overflow:hidden; width:250px; height:250px;background:#FFFFFF;” allowtransparency=”true”></iframe>
7. Replace YOUR-FACEBOOK-PAGE text above with the URL of your facebook fan page.
Also replace the : symbol in your URL with %3A and / with %2F

For example, my facebook fan page is:

After replacing the characters above, your facebook fan page should look like this:

Other settings (optional):
– to change the width and height of the facebook box, change the bolded values (250)
– to change the background color of the facebook fan box, replace #FFFFFF with the hex code of your color .
– if you want to change the color of the facebook badge (facebook button) replace this code #3B5998
with your own.

8. Now you can save your widget. Enjoy!

Credit goes to Harish (way2blogging)


1 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *