Monday, June 3, 2013

Latest : How to add Facebook Popup Box to Blogger/Blogspot

| |
0 comments

Hi friend ...
     In this topic I have to tell about how to add Facebook Popup Box to Blogger/Blogspot Posts.

Step 1:
  
 Login to Blogger >> Templates >> Edit Html

Step 2:

You need to find </head>.

After that you need to add following code above the </head>.

 https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js

Step 3:

Save Template.

Step 4:

Go to Layout >> Add a Gadget >> select HTML/JavaScript

Step 5:

Past the following code in content box.
<style type="text/css">
/*<![CDATA[*/
#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;right: -47px;width: 47px;background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicrlvNtl3QvDazROhlrAYdu0Laycpqm57WqWJb_eHd9d5QcJz0DQCXET8TdEt7B9vXPHrNXqylFfjuR3BYFGfZ7swSc_7Bzo42WKSoZII6Udgi6_pJhfeq-JT9O6McT46J1Q6EPIHFz9Me/s1600/w2b_vertical-left.png");background-repeat: no-repeat;overflow: hidden;-webkit-border-top-right-radius: 8px;-webkit-border-bottom-right-radius: 8px;-moz-border-radius-topright: 8px;-moz-border-radius-bottomright: 8px;border-top-right-radius: 8px;border-bottom-right-radius: 8px;}
/*]]>*/
</style>
<script type="text/javascript">
/*<![CDATA[*/
    (function(w2b){
        w2b(document).ready(function(){
            var $dur = "medium"; // Duration of Animation
            w2b("#fbplikebox").css({left: -250, "top" : 100 })
            w2b("#fbplikebox").hover(function () {
                w2b(this).stop().animate({
                    left: 0
                }, $dur);
            }, function () {
                w2b(this).stop().animate({
                    left: -250
                }, $dur);
            });
            w2b("#fbplikebox").show();
        });
    })(jQuery);
/*]]>*/
</script>
<div id="fbplikebox" style="display:none;">
    <div class="fbplbadge"></div> 
    <iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Ffacebook.com%2FCinemarelatedinfo&amp;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:#F5EBF5;" allowtransparency="true"></iframe>
</div> 
Step 6:   Save Widget Note :   1. Change Cinemarelatedinfo to your Facebook fans page.
2. if you want change height and width in  width=250 and height=250


Thank You
Read More