Add a Facebook Page widget Pop Out in Blogger (Blog trick)

 Facebook is one of the most popular way to get traffic to your blog. You can place a pop out on your blog and get likes to your Facebook page. This is an easy way to get page likes as well as traffic from your Facebook page to your blog. Here is an attractive Facebook widget that pops out when any user drag the mouse cursor on it. When widget pop-out, the blog reader can LIKE your facebook page.

Add a Facebook Page widget Pop Out in Blogger

To enable this widget on your blog, you first need to have a jQuery plugin script in your blog template. To add a jQuery plugin;

  1. Go to Blogger > Template > HTML > Proceed and check Expand Widget Templates
  2. Search for this code
  3. </head>
  4. Add this code BEFORE it
  5. <script src=""></script>
  6. SAVE your template
  7. Go to Blogger > Layout > Add a widget and select HTML/Javascript widget
  8. Copy-paste this code there
  9. <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;right: -47px;width: 47px;background-image: url("");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;} /*]]>*/
    <script type="text/javascript">
    var $dur = "medium"; // Duration of Animation
    w2b("#fbplikebox").css({left: -250, "top" : 100 })
    w2b("#fbplikebox").hover(function () {
    left: 0
    }, $dur);
    }, function () { w2b(this).stop().animate({
    left: -250
    }, $dur);
    <div id="fbplikebox" style="display:none;"> <div class="fbplbadge"></div> <iframe src="" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:250px; height:250px;background:#F5EBF5;" allowtransparency="true"></iframe> </div>
    1. Change the bold part with your Facebook username
    2. Thats it!
Share this article :

Post a Comment


Copyright © 2011. Tricks Duniya - All Rights Reserved