Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sharing.jquery.js

Simple jQuery based sharing library. Currently supported social networks: Facebook, Twitter, Pinterest, Google+, Linkedin

Usage example:

HTML

<a href="http://www.mywebsite.com" class="tw-share">Share on Twitter</a>
<a href="http://www.mywebsite.com" class="fb-share">Share on Facebook</a>
<a href="http://www.mywebsite.com" class="pt-share">Share on Pinterest</a>
<a href="http://www.mywebsite.com" class="ln-share">Share on LinkedIn</a>
<a href="http://www.mywebsite.com" class="gp-share">Share on Google+</a>

Javascript:

$(".tw-share").sharing("twitter");
$(".fb-share").sharing("facebook");
$(".pt-share").sharing("pinterest");
$(".ln-share").sharing("linkedin");
$(".gp-share").sharing("googleplus");

Author: Jiri Spacek, 2016

About

Simple jQuery based sharing library.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages