jQuery plugin
SocialShare is ideal choice for start to create custom social share buttons and share counters.
$('.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_'
})
$('.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
})
network | link | class with default prefix (c_) |
---|---|---|
https://twitter.com/ | c_twitter | |
https://www.facebook.com/ | c_facebook | |
Vkontakte | https://vk.com/ | c_vk |
Мой Мир | http://my.mail.ru/ | c_myworld |
http://www.linkedin.com/ | c_linkedin | |
Одноклассники | http://odnoklassniki.ru/ | c_odnoklassniki |
http://www.pinterest.com/ | c_pinterest |
- More social services
- Custom parameters for popup window
Please report me about any bugs.