Tuesday, 16 September 2014

Facebook Popup Box Coding for Website or Blog



You have to do these steps to install it on your Blogger Blog

  •   Go to blogger dashboard  >  Template
  •   Now click on  >  Edit HTML
  •   Press Ctrl+F and search for </body>.
  •   Now paste this code just above the </body> and click on Save Template

<style type='text/css'>

#getitfreeFBpop {

position:fixed !important;

position:absolute;

top:-1000px;

left:50%;

margin:0px 0px 0px -182px;

width:300px;

height:auto;

padding:16px;

background:#FEFEFE;font:normal Dosis, Georgia, Serif;

color:#111;

border:2px solid #333;

-webkit-box-shadow:0px 1px 2px rgba(0,0,0,0.4);

-moz-box-shadow:0px 1px 2px rgba(0,0,0,0.4);

box-shadow:0px 1px 2px rgba(0,0,0,0.4);

-webkit-border-radius:10px;

-moz-border-radius:10px;

border-radius:10px;

}

#getitfreeFBpop a.getitmuftclose {

position:absolute;

top:-10px;

right:-10px;

background:#fff;

font:bold 16px Arial, Sans-Serif;

text-decoration:none;

line-height:22px;

width:22px;

text-align:center;

color:#000000;

border:2px solid #333;

-webkit-box-shadow:0px 1px 2px rgba(0,0,0,0.4);

-moz-box-shadow:0px 1px 2px rgba(0,0,0,0.4);

box-shadow:0px 1px 2px rgba(0,0,0,0.4);

-webkit-border-radius:22px;

-moz-border-radius:22px;

border-radius:25px;

cursor:pointer;

}

</style>

 <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js' type='text/javascript'/>

<script type='text/javascript'>

$(window).bind(&quot;load&quot;, function() {

// Animate Top

$(&#39;#getitfreeFBpop&#39;).animate({top:&quot;150px&quot;}, 1000);

// Widget by sharoonqadeer.blogspot.com

$(&#39;a.getitfreeclose&#39;).click(function() {

$(this).parent().fadeOut();

return false;

});

});

</script>

<div id='getitfreeFBpop'>

<!-- Widget by sharoonqadeer.blogspot.com Start -->

<center>

<b>Get Notifications of Our New Posts on Facebook</b></center>

<center>

<iframe allowtransparency='true' frameborder='0' scrolling='no' src='//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fgetitfreee&amp;width=300&amp;height=258&amp;show_faces=true&amp;colorscheme=light&amp;stream=false&amp;show_border=false&amp;header=false&amp;appId=196282097100252' style='border:none; overflow:hidden; width:300px; height:258px;'/>

</center>

<!-- Widget by sharoonqadeer.blogspot.com End -->

<a class='getitfreeclose' href='#'>&#215;</a>

<center style='float:right; margin-right:10px;'>

  <span style='font-size:xx-small; color:#000; text-decoration:none;'/></center>

</div>




, then replace getitfreee with your page url.

No comments:

Post a Comment