Sliding Facebook Like Box Pop Out For Blogger

| |


Today I am presenting a Facebook Like Box that scrolls with you & slides on hover. You can view a demo of this on the right of this blog. To add this to your blog, you just need to add a gadget. You might also be like my previous post on CSS Slide Buttons. This effect is supported in all browsers & uses JQUERY and CSS. So now lets start the tutorial.














HOW TO ADD STATIC FACEBOOK POP OUT LIKE BOX  TO BLOGGER?

1. Add a 'HTML/JAVASCRIPT' gadget.
2. Paste the following code in the editor.
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<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("http://1.bp.blogspot.com/--tscpVzcBjo/TdUarKtcAlI/AAAAAAAAA3I/qVkypiYO9rc/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>
   Your Code Here <span>Widget by:<a href="http://www.bloggertrickshut.blogspot.com">Blogger Tricks Hut</a></span></div></div>

3. Replace your 'Your Code Here' with your Facebook
    I-frame code.


Need any help? Your comments are welcome. :)

0 comments:

Post a Comment

Powered by Blogger.