Adding Floating Like Box In Blogger
Jut follow these steps
1.Sign in to Blogger
2.Go to your Dashboard>Design>Edit HTML
3.Find this "</head>" tag by clicking ctrl+f in your html file
4. Add this code before " </head>" code====>↓↓↓↓↓↓↓
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript">
</script>
Adding Widget Code
1. Go to Design>Add a Gadget>HTML/JavaScript 2. Add This code to HTML/JavaScript Widget <script type="text/javascript"> //<!-- $(document).ready(function() {$(".floatinglikebox").hover(function() {$(this).stop().animate({right: "0"}, "medium");}, function() {$(this).stop().animate({right: "-250"}, "medium");}, 500);}); //--> </script> <style type="text/css"> .floatinglikebox{background: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYdF184EMJr-0j6qXQ0eRKr5DzNjvDJ_ovYLUKgdtUK4FC45JQjRX8qHR1N0SZGtVjhASYmB8N0rqfo8PO14vuMYQ00Ns5twUAxgW1FKHhKvK3384jmoOzIy2BI-xQUZ784ulbsWqFuBc/s1600/floatingfb.png") no-repeat scroll left center transparent !important;display: block;float: right;height: 270px;padding: 0 5px 0 40px;width: 245px;z-index: 99999;position:fixed;right:-250px;top:20%;} .floatinglikebox div{border:none;position:relative;display:block;} .floatinglikebox span{bottom: 10px;font: 10px tahoma,verdana,arial,sans-serif;position: absolute;right: 6px;text-align: right;z-index: 99999;} .floatinglikebox span a{color: #808080;text-decoration:none;} .floatinglikebox span a:hover{text-decoration:underline;} </style><div class="floatinglikebox" style=""><div><iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2F14.teenager&width=292&height=258&colorscheme=light&show_faces=true&border_color&stream=false&header=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:258px;" allowtransparency="true"></iframe><span><a href="http://thebest-technic.blogspot.com/2012/09/add-floating-facebook-like-box-for.html" target="_blank">+Get This!</a></span></div></div> Replace http%3A%2F%2Fwww.facebook.com%2F14.teenager, with your Facebook fan page URL.
No comments:
Post a Comment