Add 2 in 1 Floating Facebook and Advertise widget in Blog Site

Add 2 in 1 Floating Facebook and Advertise widget in Blog Site. Display Facebook like box to get more followers and advertisement for making money.
Hi guys, 

a few days ago I have visited a site actually can't remember the name and it was displaying floating Facebook like box and advertisement together. I just become curious about that but that site platform was unknown to me. For this reason, I have decided to create this kind of widget in my own way. 

After fewer struggle finally, I have become successful to create that widget. This is really incredible. Before that I have released only displaying floating Facebook fan box or floating advertisement. But now we can display both Facebook like box and advertisement at a time. 

I think you are excited to get this widget. So I am going to share with you the widget code hope you can add this widget and can generate more income from advertisement as well as you will able to increase your Facebook page fan rapidly.

Add 2 in 1 Floating Facebook and Advertise widget in Blog Site

I have kept the older concept of floating advertisement widget and just added extra spice by integrating Facebook like a box. And both widgets will float on your Blog landing page as well as all other pages. Though this first experimental and hopefully I will release more advance version of this widget.


Live Demo

Now it's time to including the widget with your Blogger template. Please follow the below steps that might be helpful for integrating this widget.


Add 2 in 1 Floating Facebook and Advertise widget in Blog Site

Note that, this code is protected by DMCA. If anybody tries to republish or reproduce this tutorial without my permission, then I will complain to DMCA for your site removal.

Step 1 Log in to your Blogger Account and Go to your Blogger Dashboard

Step 2 Go to your Layout tab.

Step 3 Click on "Add a Gadget" then select "HTML/JavaScript" Gadget.

Step 4 Now Copy the below code and paste it in "HTML/JavaScript" Gadget.

<style>
#BloggerSpices.com{
height:0px;
width:auto;
background:transparent url('..');
background-repeat:repeat-x;
text-align:left;
padding-top:0px;
}
#Biggapon{
height:280px;
margin:0 auto;
width: 620px;
background:#FEFEFE;
text-align:center;
padding:4px;
}
#BiggaponArUpore{
opacity:1.0;
height:auto;
width:auto;
position:fixed;
top:30%;
left:30%;
background:transparent;
padding:0px;
z-index:1001;
font-size:13px;}
</style>
<script type="text/javascript">
function getValue()
{
document.getElementById("BiggaponArUpore").style.display = 'none';
}
</script>
<div id="BiggaponArUpore">
<div id="BloggerSpices.com">
<span style="color:#333333;font-size:13px;font-weight:bold;float:right;padding-top:1px;padding-right:10px"><a href="http://www.bloggerspice.com/2015/01/add-floating-facebook-and-advertisement-widget-at-a-time-in-Blogger-Site.html" target="_blank" onclick="getValue()">close(x)</a></span>
</div>
<div id="Biggapon">
<p>
<table border='0' cellpadding='0' cellspacing='0' color='#FFFFFF' width='610' style='margin: 5px 5px 0 0'>
<tr>
<td align='center' style='background-color: #FFFFFF; padding: 5px;' width='300'>
<iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2FBloggerSpice&amp;width=300px&amp;height=250&amp;colorscheme=light&amp;show_faces=true&amp;header=false&amp;stream=false&amp;show_border=false&amp;appId=148365041942530" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:300px; height:250px;" allowtransparency="true"></iframe>
</td>
<td align='left' style='background-color: #FFFFFF; padding: 5px;' width='300'>
Place Advertisement Code Here
</td>
</tr>
</table>                          
</p>
</div>
</div>



Step 5 Now Press on Save Button.

Customization

  • Replace BloggerSpice with your Facebook page name. Also, change application id 148365041942530 if possible.
  • Replace Place Advertisement Code Here with your AdSense or other ads code.
  • Change top:30%, and left:30%; for positioning the ads in centre of your Blog site.
  • To increase or decrease widget width please change the value width: 620px.
Congratulation!!! 

now check your Blog and see the widget appearing with Facebook like box and Advertisement together. For any further support feel free to write to me. And stay tuned for the more exciting release.
Go Up