How to Add Static Facebook Like Box with smooth Jquery hover effect
I am going to saying How to add static Facebook Like Box with smooth Jquery hover effect? which has 2 step below
STEP-1,
Go to Blogger Dashboard < Design tab > Edit Html
STEP-1,
Go to Blogger Dashboard < Design tab > Edit Html
Search for </head> tag
Add below line of code Before </head> tag and Fine </head> press Ctr+ F
Put Below at </head> tag
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"
type="text/javascript"></script>
STEP - 2,
Copy to below code into this Widget code
<script type="text/javascript">
/*<![CDATA[*/
jQuery(document).ready(function()
{jQuery(".w2bslikebox").hover(function()
{jQuery(this).stop().animate({right: "0"}, "medium");},
function() {jQuery(this).stop().animate({right: "-250"},
"medium");}, 500);});
/*]]>*/
</script>
<style type="text/css">
.w2bslikebox{background:
url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_Q4P4P1C7HvMeULUDI1VCalI-JHa2zZ5S5Y6oiY-L-Q2LO9MS7u5z8Pzal4rsvUsiCe1WWvaKkAkb6w9X7r6fM9jXloHs9QLHCNa1DBOvkt9_mOIQqRy-0re5OIPFWfuuVxRSKM55b0QW/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: 7px;text-align: right;z-index: 99999;}
.w2bslikebox span a{color: gray;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%2FGlobalnews2&width=245&colorscheme=light&show_faces=true&connections=9&stream=false&header=false&height=270"
scrolling="no" frameborder="0" scrolling="no"
style="border: medium none; overflow: hidden; height: 270px; width:
245px;background:#fff;"></iframe><span><a
href="
http://www.okynews.com/2012/04/how-to-add-static-facebook-like-box.html">by
Global News</a></span>
</div>
</div>
Replace my facebook page URL below with the URL for your page.
Globalnews2 as your facebook link
If you Liked it! then feel Free to Share and leave a Comment
No comments