This is easy to add into your blog sidebar. You just add script to blogger gadget, So lets add this cool Floating Facebook Like Box to your blogger blogs. First You can see the live demo at Right of this Page, click on button below to see another demo.
- Go to Blogger Dashboard > Layout > Click on Add a Gadget
- In Pop up Window, click on HTML/JavaScript.
- Paste the following code inside it.
<script type="text/javascript">
/*CDATA[*/
jQuery(document).ready(function() {jQuery(".HSlikebox").hover(function() {jQuery(this).stop().animate({right: "0"}, "medium");}, function() {jQuery(this).stop().animate({right: "-250"}, "medium");}, 500);});
/*]]>*/
</script>
<style type="text/css">
.HSlikebox{background: url("http://www.hamidshahzad.com/wp-content/uploads/Floating-Facebook-Like-Box.png") no-repeat scroll left center transparent !important; float: right;height: 270px;padding: 0 5px 0 46px;width: 245px;z-index: 99999;position:fixed;right:-250px;top:20%;}
.HSlikebox div{ padding: 0; margin-right:-8px; border:4px solid #3b5998; background:#fafafa;}
.HSlikebox span{bottom: 4px;font: 8px "lucida grande",tahoma,verdana,arial,sans-serif;position: absolute;right: 6px;text-align: right;z-index: 99999;}
.HSlikebox span a{color: gray;text-decoration:none;}
.HSlikebox span a:hover{text-decoration:underline;}
}
</style>
<div class="HSlikebox" style="">
<div>
<iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Ffacebook.com%2Fcool33bloggertrix&width=245&colorscheme=light&show_faces=true&border_color=white&connections=9&stream=false&header=false&height=270" scrolling="no" frameborder="0" scrolling="no" style="border: white; overflow: hidden; height: 270px; width: 245px;background:#fafafa;"></iframe><span>Widget by :<a href="http://cool33bloggertrix.blogspot.com/">Cool33bloggertrix</a></span>
</div>
</div>
- Replace Cool33bloggertrix with Your Facebook Page Username.
- Click on Save Button and DONE!
I hope this widget helps you in increasing the like of your facebook Page and blog/Website traffic. The Floating FB Like box was proudly created by Harish and re-shared at HS
No comments:
Post a Comment