Wednesday, November 30, 2011

How to add a facebook page Jquery slideout gadget in blogger

Hello friends and bloggers ,want to add a stylish facebook jquery plugin like on our blog..? the follow these simple steps..

Step 1: Adding Jquery JavaScript Plugin(Ignore this step if your blog have already a Jquery Plugin)
a. Go to Blogger Dashboard < Design tab > Edit Html 
b. Search for 
</head> tag
c. Add below line of code Before </head> tag
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script>
Step 2: Adding Widget Code
a. Go to Blogger Dashboard < Design tab > Page Elements 
b. Add a Gadget,choose HTML gadget and paste the following Code :
<script type="text/javascript">
//<!--
$(document).ready(function() {$(".w2bslikebox").hover(function() {$(this).stop().animate({right: "0"}, "medium");}, function() {$(this).stop().animate({right: "-250"}, "medium");}, 500);});
//-->
</script>
<style type="text/css">
.w2bslikebox{background: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvybAFpv-kRygdeZeKCKIrY3uvvjzUyp2Musl2clmn72Wsf6wuLkm182kVA9jiSFoV_HL9QrYgvfxDZNPEsTe_oFZhyphenhyphenjmIA993rHINCULptVBVbQ62y9tZgLoJvs3eBcsVVqqMXQ_fXHDl/s150/w2b_facebookbadge.pn") no-repeat scroll left center transparent !important;display: block;float: right;height: 270px;padding: 0 5px 0 46px;width: 245px;z-index: 99999;position:fixed;right:-250px;top:20%;}
.w2bslikebox div{border:none;position:relative;display:block;}
.w2bslikebox span{bottom: 12px;font: 8px "lucida grande",tahoma,verdana,arial,sans-serif;position: absolute;right: 6px;text-align: right;z-index: 99999;}
.w2bslikebox span a{color: #808080;text-decoration:none;}
.w2bslikebox span a:hover{text-decoration:underline;}
</style><div class="w2bslikebox" style=""><div><iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Ffacebook.com%2Ftechiotaku&amp;width=245&amp;colorscheme=light&amp;show_faces=true&amp;connections=9&amp;stream=false&amp;header=false&amp;height=270" scrolling="no" frameborder="0" scrolling="no" style="border: medium none; overflow: hidden; height: 270px; width: 245px;background:#fff;"></iframe><span>By <a href="http://www.way2blogging.org/">Way2blogging</a> / <a href="http://www.way2blogging.org/2011/06/add-static-facebook-pop-out-like-box.html">+Get This!</a></span></div></div>
c. Change the Word teciotaku marked in red in the above code with that with your facebook page name,save the gadget and you are done :)

For More tips and tricks like this go here
Liked it..? now share it...



1 comments:

will surely implement it...!

Post a Comment