jQuery Plugin To Generate Social Share Links - share

File Size: 3.35 KB
Views Total: 1682
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
jQuery Plugin To Generate Social Share Links  - share

share is a tiny jQuery plugin for generating social share links so that you can attach these links to any Html elements (e.g. images, text, etc).

How to use it:

1. Load the jQuery share plugin after jQuery JavaScript library.

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="jquery.share.js"></script>

2. Add share-title class to the heading text you want to share.

<h1 class="share-title">jQuery Share</h1>

3. Add hare-sub class to additional text you want to share.

<h3 class="share-sub">A social share plugin. </h3>

4. Create social share links using share-SERVICE CSS classes. Currently supports Facebook, Twitter, Google Plus and LinkedIn.

<a target="_blank" class="share-twitter" href="">Tweet this</a>
<a target="_blank" class="share-fb" href="">Share on FB</a>
<a target="_blank" class="share-gplus" href="">Share on G+</a>
<a target="_blank" class="share-linkedin" href="">Share on Linkedin</a>

This awesome jQuery plugin is developed by Wixel. For more Advanced Usages, please check the demo page or visit the official website.