Add jQuery Pop-up Facebook Like Box with Timer To Blogger

Time To Boost Your Facebook Fan Page Likes,Now its very easy to socially force your visitors to like your Facebook Fan Page.Actually this widget has a unique feature i.e it loads very fast, New jQuery Popup Facebook Like Box along with timer is a new Blogger Widget which can help you to increase your Fan page Likes.The most beautiful thing in this widget is that you can customize it Accordingly i.e you can change the time interval of Closing or You Can also change the Text "Like us On FB" and even the text "cancel".Once You added this Widget to Blogger,it will popup when someone land to your Blog and it will Provide a cool look to the reader/visitor of Blog to socially force him for liking your Fan Page ;) 

How To Add jQuery Pop-up Facebook Like Box with Timer To Blogger

Before adding this Widget you need to install the jQuery Plugin,if jQuery Plugin is already installed on your Blog,then No worry just follow the below steps and install the widget,but if not,then Go To Blogger Dashboard >> Click On Template >> and Search for </Head> tag , now copy the below script and paste it above </head> tag.
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.js"></script>

  • After Installing the jQuery Plugin To Your Blog Follow the below steps
  • Go To Blogger Dashboard
  • Click On Layout
  • Now Click On Add a Gadget
  • Now a Box will Popup
  • Select HTML/JavaScript There
  • Now another Box will popup
  • Now Copy the below Script and make the specific changes and paste it into the HTML/JavaScript Box
<style type='text/css'>
#makingdifferentpopup{
position: fixed;
top:100px;
z-index:9999;
display:none;
padding:0px;
right:600px;
border:10px solid rgba(82, 82, 82, 0.7);
-webkit-background-clip: padding-box; /* for Safari */
background-clip: padding-box; /* for IE9+, Firefox 4+, Opera, Chrome */
-webkit-border-radius:8px 8px 8px 8px;
-moz-border-radius:8px 8px 8px 8px;
border-radius:8px 8px 8px 8px;
width:400px;
height:360px;
overflow:hidden;
}
#makingdifferentpopup span{
font-size:20px !important;
font-weight:bold !important;
}
#makingdifferentpopup h1{
background:#6d84b4 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_3PFSURgtPgTE-QAqWNxj8uJprQ2mW5i7GGjB_iJ_hDfjfxYwWbM0GaCeMoj25R_c7QJYj6mAWVJ1u1u6gWOr8BSzSywV-ZRg1De12Mj31CnykLstzKNpj2-vpr_91szdpMG6IC4-knB6/s1600/%255Bwww.gj37765.blogspot.com%255Dh1.png) 98% no-repeat;
border:1px solid #3b5998 !important;
color:#FFFFFF !important;
font-size:20px !important;
font-weight:700 !important;
padding:5px !important;
margin:0 !important;
font-family:'"lucida grande",tahoma,verdana,arial,sans-serif !important;
overflow:hidden !important;
}
.htmlarea{
font-size:12px !important;
font-weight:normal !important;
height:265px !important;
padding:1px !important;
background:#fff !important;
border-bottom:2px solid #ddd;
overflow:hidden !important;
}
#mdfooter{
text-align:left;
background:#F2F2F2 !important;
height:56px !important;
padding:10px 10px 10px 10px !important;
overflow:hidden !important;
}
#mdclose{
float:right;
background-color:#eee !important;
border:1px solid #ccc !important;
color:#111 !important;
font-weight:bold !important;
padding:5px 8px 5px 8px !important;
text-decoration:none !important;
display:inline-block !important;
font-family:'"lucida grande",tahoma,verdana,arial,sans-serif !important;
outline:none !important;
position:relative !important;
font-size:18px !important;
margin:1px !important;
}
#mdclose:active{
top:1px;
left:1px;
}
.grabthis{
bottom:80px;
font:8px "lucida grande",tahoma,verdana,arial,sans-serif;
position:absolute;
right:6px;
text-align:right;
z-index: 99999;
}
.grabthis a{
color: #000;
text-decoration:none;
}
.grabthis a:hover{
text-decoration:underline;
}
</style>
<script type='text/javascript'>
jQuery(document).ready(function() {
function makingdifferent_ppopup()  {
var sec = 10
var timer = setInterval(function() {
   $("#mdfooter span").text(sec--);
   if (sec == 0) {
      $("#makingdifferentpopup").fadeOut("slow");
      clearInterval(timer);
   }
},1000);
  var mdwh = jQuery(window).height();
  var mdpph = jQuery("#makingdifferentpopup").height();
  var mdfromTop = jQuery(window).scrollTop()+50;
 jQuery("#makingdifferentpopup").css({"top":mdfromTop});}
jQuery(window).fadeIn(makingdifferent_ppopup).resize(makingdifferent_ppopup)
 //alert(jQuery.cookie('sreqshown'));
 //var mdww = jQuery(window).width();
 //var mdppw = jQuery("#makingdifferentpopup").width();
 //var mdleftm = (mdww-mdppw)/2;
   var mdleftm = 500;
 //var mdwh = jQuery(window).height();
 //var mdpph = jQuery("#makingdifferentpopup").height();
 //var mdfromTop = (jQuery(window).scrollTop()+mdwh-mdpph) / 2;
 jQuery("#makingdifferentpopup").animate({opacity: "1", left: "0" , left:  mdleftm}, 0).show();
     jQuery("#mdclose").click(function() {
jQuery("#makingdifferentpopup").animate({opacity: "0", left: "-5000000"}, 1000).show();});});
</script>
<div id="makingdifferentpopup">
<h1>Join us on Facebook</h1>
<div class="htmlarea">
<iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fthatsblogging&amp;width=400&amp;colorscheme=light&amp;show_faces=true&amp;border_color=%23fff&amp;stream=false&amp;header=false&amp;height=250" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:400px; height:250px;" allowtransparency="true"></iframe>
<div class="grabthis">
By <a href="http://www.filehippolatest.com/" target="_blank">FileHippo</a> / <a href="http://www.filehippolatest.com/" target="_blank">+Get This!</a>
</div>
</div>
<div id="mdfooter">
Please wait..<span>10</span> Seconds
<a href="#" id="mdclose" onclick="return false;">Cancel</a>
</div>
</div>
<!-- End popup -->

Changes in The Script before installing

  • Replace thatsblogging in the script with your Own Facebook Fan page username.
  • For changing the Time Interval,Change var sec = 10 with your Own Desire time.
  • If you are interested in changing the height and width of the Box Change 250 and 400 in the Script
  • For Changing The Text "Join us on Facebook" just change the text with your Own.
  • Change The Text "Cancel" with your Desire text
  • Now Copy the Script and paste it into the box 
  • Now hit Save and that's it 
  • Script Credit Purely Goes To "MakingDifferent"
So What's Up :- Adding this jQuery Popup will force your Readers to like your Fan page and as a result you can increase your Fan page Likes,Share your Beautiful Ideas with us,and if you have any Question ask us,stay Blessed ,Happy Blogging.
Add jQuery Pop-up Facebook Like Box with Timer To Blogger
Last Reviewed by Iftikhar uddinon June 24 2013
Rating: 5
SHARE

Iftikhar Uddin

I am a Web Developer,Graphic Designer,Blogger Wizard,WordPress Samurai,Code Engineer,SEO Guru,Software Engineer and food hunter.

  • Image
  • Image
  • Image
  • Image
  • Image
    Blogger Comment
    Facebook Comment

34 comments:

  1. I want to give my reader some time to gain some interest on my blog and make my reader read at least 1st paragraph and then if the pop up comes it would make sense. do you think this is possible ?

    ReplyDelete
    Replies
    1. You Can change the time Interval of This popup widget,however what you want is not in my mind :) However thanks for Stopping By :) Do visit Again I will back to you on this Tut :)
      Regards,
      IfTi!

      Delete
  2. but it pop ups on every refresh of page? please help

    ReplyDelete
    Replies
    1. Hey @Abhishek Pathak,Bro that is the main advantage of this widget :) and Don't worry about the wait because this widget has a close button
      Regards,
      Ifti!

      Delete
    2. onclick="return false;"

      in this code change false to true this might help dude
      please visit my blog and comment
      http://techiesaid.blogspot.in/

      Delete
  3. Thanks a lot
    http://fresherslikes.blogspot.in/

    ReplyDelete
    Replies
    1. Freshers Like ,Good To see you here,Do Visit Again ;)
      Ifti!

      Delete
    2. But th ebox still there evens after my visotor hit the like button. This is the main disadvantage.

      Delete
  4. pop up is opening on my site but not showing proper content of my facebook page like button and faces help

    my site is www.jobsmailindia.com

    ReplyDelete
    Replies
    1. Hey Krishna R,It works Perfect,Do Follow the above steps again ;)Hope it works Perfect!
      Ifti!

      Delete
  5. How can I Display this on my Home page only?

    ReplyDelete
  6. hey sir, thanks..
    your script is awesome..
    but, i just wanna this pop-up on my home page only..
    not every tab or page that i have..
    how to change it sir?
    very appreciate your feedback.. :-)

    ReplyDelete
    Replies
    1. Hey Imaditra that is the main advantage of this widget :) and Don't worry about the wait because this widget has a close button
      Regards,
      Ifti!

      Delete
    2. hey sir , i like your blog . smooth .
      now , i have questions , how to edit the code to make all content hidden before push the button like .
      like this blog >> http://www.sembanglebih.com/2013/06/kisah-benar-gadis-20-tahun-sudah-t-iduri.html

      the content of blog is hidden (black background)

      Delete
  7. Sorry i haven't Got your Question !

    ReplyDelete
  8. No working to my site :(... followed the step :) why is that?

    ReplyDelete
    Replies
    1. which site???
      tell me at mudassirpti@gmail.com i'll help you
      www.pak-best.com
      www.ptiisbest.com

      Delete
  9. good for more visit www.pak-best.blogspot.com and www.pak-best.com

    ReplyDelete
  10. Great writings sir....U really are a genious !! :-)

    ReplyDelete
    Replies
    1. @Khalid Islam :/ What are your Doing here man :D
      Welcome To ThatsBlogging
      Regards,
      Ifti!

      Delete
  11. hi I made a Gadget and everything but its only appears in the home page

    I don't know why... can you help please??!!

    ReplyDelete
  12. but it pop ups on every refresh of page?

    indiandeals2buy.com

    ReplyDelete
  13. What about using this on other non blogger sites. will this work only with blogger?

    Netdost Blog Network

    ReplyDelete
  14. Nice Perfect Working on my blog
    http://www.bollyweds.blogspot.com

    ReplyDelete
  15. slaam bhai.. man ny ye apny blog py apply kiya ha laken waha like py confrmation mangta ha jb k es ko one click py e like krna chahy plz solve it.. ( deepthnker.blogspot)

    ReplyDelete
    Replies
    1. Hello Yasir , you always have the option of cancelling the Pop up box , you can hit cancel to avoid that !
      Ifti

      Delete
  16. Cool man ! Working for me. I wanted this widget for a long. Thanks for sharing.
    http://pharmacyhelps.blogspot.com/
    http://itnews-solutions-tips.blogspot.com/

    ReplyDelete