Add a cool static Facebook Pop out like box to your website

6:59 AM 0 Comments

As we all are familiar with the fact that the social medias are now a days the backbone of the websites owner.So for the sake of simplicity I am going to post Static Facebook like box with jquery hover effect.Enjoy it.
Like Box
Facebook-popout-box 

How to Add a cool static Facebook Pop out like box to your website:

First Go to Blogger Dashboard.
Next go to Template>and click on the edit HTML button.
  
Search for the following code using CTRL F.
</head>
Add the following code Just below/above the  </head> tag:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> 
Now go to layout and>and then click on the add new gadget>>Choose The HTML java script gadget.
A box will appear copy and paste the below code in it.
<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;left: -47px;width: 47px;background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF5-Tr9M02V0XykRgJ-FqNX2DooDUWrsvTQcvSv-BOt6wP_d5n3iPedZB3Gah7UwXppdOlR2410UeDVWx45z7gCdkjatZaL7tHJ0Kl1T3x7xKDuMGdeqPAfx1CT4JJOOWhVTrHzrdSlDk/s1600/vertical-right.png");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;}
/*]]>*/
</style>
<script type="text/javascript">
/*<![CDATA[*/
    (function(w2b){
        w2b(document).ready(function(){
            var $dur = "medium"; // Duration of Animation
            w2b("#fbplikebox").css({right: -250, "top" : 100 })
            w2b("#fbplikebox").hover(function () {
                w2b(this).stop().animate({
                    right: 0
                }, $dur);
            }, function () {
                w2b(this).stop().animate({
                    right: -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=YOUR-FACEBOOK-PAGE&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:#FFFFFF;" allowtransparency="true"></iframe>
</div>   
Replace the  YOUR-FACEBOOK-PAGE  with your facebook page.Also repalce  %3A  with %2F.
Enjoy this cool widget and don,t forget to leave comments. 

  
 


Unknown

Some say he’s half man half fish, others say he’s more of a seventy/thirty split. Either way he’s a fishy bastard.

0 comments:

Buscar