Minimal jQuery Social Share Widget - Minishare
File Size: | 25.6 KB |
---|---|
Views Total: | 2899 |
Last Update: | |
Publish Date: | |
Official Website: | Go to website |
License: | MIT |

Minishare is a extremely simple jQuery plugin that allows you to create a fixed position social media share widget on your website. By default, the widget hangs down the right hand side of the page, you can change the position/styling of the widget by editing the css/minishare.css
file. The plugin currently supports facebook share button and twitter tweet it button.
Basic Usage:
1. Include the jQuery library and jQuery Minishare plugin in the head section of your page
<script type="text/javascript" src="http://code.jquery.com/jquery-1.10.2.min.js"></script> <script type="text/javascript" src="./minishare-0.0.1.js"></script>
2. Call miniShare()
function to show the widget
<script type="text/javascript"> $.miniShare(); </script>
3. Options
url - url to share (default is the current page) message - message to show above the icons done_message - message to show after sharing twitter_message - message to include in the tweet. This prefaces the URL. html - a string of HTML to use for the widget.
This awesome jQuery plugin is developed by dwhewitson. For more Advanced Usages, please check the demo page or visit the official website.