Sharer.js is a very small Javascript library for creating custom social sharing components on the DOM elements of your website.
This JS library that adds social sharing capability for any DOM elements (buttons, links, etc.). All parameters can be passed via HTML5 data attributes.
Adding Share Behavior to a Component:
- Telegram
- Viber
- Tumblr
- Hackernews
- VK.com
- Buffer
- Line
- Instapaper
- Digg
- StumbleUpon
- Renren
- Myspace
- Blogger
- Baidu
- Ok.ru
- Evernote
- Skype
How to make use of it:
Just include the sharer.js library into your webpage and weβre able to go.
<script src="path/to/sharer.min.js"></script>
Add the required CSS class βsharerβ to your component and create a customized Facebook button.
<button class="sharer" data-sharer="facebook" data-url="https://google.com"> Share on Facebook </button>
Custom Social Share Buttons with JavaScript and HTML5, Sharer JS Plugin/Github
See Demo And Download
Official Website(ellisonleao): Click Here
This superior jQuery/javascript plugin is developed by ellisonleao. For extra Advanced Usages, please go to the official website.
Be First to Comment