Header Ads

Breaking News
recent

Adding facebook floating hide bar

Hi readers,  

After writing How to Reset Windows 7 or Vista Password? .....

Now I'm going to write Adding facebook floating hide bar ...  : D




Here are 2 Simple Steps...

Step 1: Adding Jquery JavaScript Plugin(Ignore this step if your blog have already a Jquery Plugin)

  1. a. Go to Blogger Dashboard > Design tab > Edit Html 
  2. Search for </head> tag
  3. 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. Copy below code

  1. Replace Fo2trick with your Facebook Username Don't forgot Add F before your username without any space.
  2. again copy the code.
  3. Go to Blogger Dashboard > Design tab > Page Elements
  4. Add a Gadget > HTML/Javascript


<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/AVvXsEis1GpAA1bs-vk0R7HeLM3e3QUiHx3KaPaTVyvWMIg1QInH1CHjC3wr0IaZ4_cW504wRJrgA8L7n4dwHoou4LxnYqfhL6Jhw_TmIV4sk0Ad02ZAwkaQjMjwAay_2acEWvEE_lnWNEjN3yqR/s150/w2b_facebookbadge.png") 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%2Fo2trick&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://o2trick.blogspot.com/">O2Trick</a> / <a href=" http://o2trick.blogspot.in/2012/02/adding-facebook-floating-hide-bar.html "> Get This!</a></span></div></div>

Hope you like this one....

For more tips, trick and tutorial . Subscribe IT.

Please give me your feedback in comment box...

No comments:

Powered by Blogger.