This is a great way which requires almost no space and it looks more attractive than that of simply keeping the like box, it will float on your blog/website, and when the visitors mouse over it will animate by sliding of left. So lets add this cool sliding Twitter like box to your blogger blogs.
STEP 1. Adding JQuery Pluging To Your Blogger Blogspot
1. Go To your Dashboard > Design > Edit HTML
2. Search for </head> before it paste the following JQuery Code.
3. (Ignore this step if you have already added JQuery Plugin yo your blog).
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js' type='text/javascript'/>
4. Save your template
STEP 2. Add Sliding Twitter Like Box To Your Blogger Blogspot
1. Go To Blogger > Design > Page Elements
2. Click on "ADD A GADGET"
3. Choose HTML/Javascript Widget
4. Paste the Following Code inside it.
<script type="text/javascript">
//<!--
$(document).ready(function() {$(".twitterboxot").hover(function() {$(this).stop().animate({right: "0"}, "medium");}, function()
{$(this).stop().animate({right: "-250"}, "medium");}, 500);});
//--> </script>
<style type="text/css">
.twitterboxot{background: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVQbevkCkCzZWhY9e7BKmDOyp-b5Hl68fOXHo4Z_oK1NRIOY8iCp8EFnWyNdAgJ-4dQURKqETeArk_BVaJufblhA6e_q9IVHLrc7SSOK_eIWbMsPSJR2Ewh1MMM3Nr6Ln-CfXuDsaLbPP9/s1600/twitterbox.png")
no-repeat scroll left center transparent !important;
display: block;
float: right;
height: 240px;
padding: 0 5px 0 46px;
width: 245px;
z-index: 99999;
position:fixed;
right:-250px; top:20%;}</style>
<div class="twitterboxot"><div>
<script type="text/javascript"
src="http://script-ot.googlecode.com/svn/twitterbox.js"></script><div
id="twitterfanbox"></div>
<script type="text/javascript">fanbox_init("mytopfreeware");</script></div><div style="font-size:10px;">
<a href="http://mytopfreeware.blogspot.com/2012/03/add-sliding-twitter-followers-box-to.html" target="_blank">Get This Widget</a>
</div></div>
5. Replace mytopfreeware with your Twitter Username. Save your template.
Visit your blog to see Sliding Twitter Like Box at right side of your webpage.
0 comments:
Post a Comment