Facebook Slide out button for blogger
It has been long time since I have not posted a new widget so here is a
much awaited Facebook Slide Out Share button for Blogger blogs.
This widget has many features like:
- Light weight size
- Support all major browsers
- Made with CSS3
- Compact design
- Attractive & elegant
- Show only on Post page
I want to make the topic small that is why i am explaining the topic in short
Adding the code to HTML/Javascript
Go to Blogger → Dashboard → Layout → Add gadget → HTML/Javascript .
<b:if cond='data:blog.pageType == "item"'>
<style>
/* Widget by Bloggerstricks.blogspot.com */
#fixed-share {background: none repeat scroll 0 0 #4C6699;border-bottom: 3px solid #30476F;bottom: 60px;box-shadow: 0 8px 8px #888888;font-family: Arial;font-size: 16px;padding: 15px 30px 15px 15px;position: fixed;right: -147px;text-align: left;text-transform: uppercase;transition: all 1s ease 0s;z-index: 10;}
#fixed-share:hover {right: 0}
#fixed-share:hover > #share-box {right: 147px}
#share-box {background: none repeat scroll 0 0 #4C6699;bottom: 72px;box-shadow: 0 8px 8px #888888;height: 40px;position: fixed;right: 1px;text-align: center;transition: all 1s ease 0s;width: 40px;}
</style>
<div id="fixed-share">
<div id="share-box">
<img src="http://s10.postimg.org/s1a8ghl6t/Fb_Logo.png" />
</div>
<span>Support Us<br/> <script>(function(d){ var js, id =
'facebook-jssdk'; if (d.getElementById(id)) {return;} js =
d.createElement('script'); js.id = id; js.async = true; js.src =
"//connect.facebook.net/en_US/all.js#xfbml=1";
d.getElementsByTagName('head')[0].appendChild(js);
}(document));</script> <fb:share-button expr:href='data:post.url'
type='button_count'/> </fb:share-button>
</span></div>
<!-- Widget by Bloggertricks.blogspot.com -->
</b:if>
After adding this code to your template click on save button.Now your visitors can see a cool and elegant share button on your page. If you need any help leave your question in the Online Chat box