0.2.17 • Published 9 years ago

social-share-jquery v0.2.17

Weekly downloads
7
License
-
Repository
github
Last release
9 years ago

SocialShare

jQuery plugin

SocialShare is ideal choice for start to create custom social share buttons and share counters.

Simple example for generate share links:

$('.share').ShareLink({
    title: 'My great post', // title for share message
    text: 'text of my great post', // text for share message
    image: 'http://my-site-url.com/images/funny-cats.png', // optional image for share message (not for all networks)
    url: 'http://my-site-url.com/my-article.html', // link on shared page
    class_prefix: 's_', // optional class prefix for share elements (buttons or links or everything), default: 's_'
    width: 640, // optional popup initial width
    height: 480 // optional popup initial height
})

Simple example for create share counters:

$('.counter').ShareCounter({
    url: 'http://my-site-url.com/my-article.html', // url for which you want show like counter
    class_prefix: 'c_', // optional class prefix for counter elements, default: 'c_'
    display_counter_from: 0, // optional to set when counter is display, default: 0
    increment: false // Optional. If this option is true you can summarize counters from different sources just using multiple classes for one container.
})

Example in action

Supported social networks

for now supported networks for like counters:

If you want to use facebook counter please read this comment

for generate share link address:

Please report me about any bugs.

0.2.17

9 years ago

0.2.16

9 years ago

0.2.15

9 years ago

0.2.14

9 years ago

0.2.13

9 years ago

0.2.12

9 years ago

0.2.11

9 years ago

0.2.10

10 years ago

0.2.9

10 years ago

0.2.8

10 years ago

0.2.7

10 years ago

0.2.6

10 years ago

0.2.5

10 years ago

0.2.4

10 years ago

0.2.3

11 years ago