This time I will share jQuery Plugin and tutorial about jQuery Plugin For Embedding Custom Share Buttons with Counters – pisocials, hope it will help you in programming stack.
A jQuery based custom social share widget which makes it easier to embed official or flat style social sharing buttons with counters into your website.
Supported social share buttons:
- Facebook like button
- Facebook share button
- Twitter
- Google plus
- Pocket
How to use it:
1. Load jQuery library and the jQuery pisocials plugin’s files in the html file.
1 |
< link href = "css/pisocials.css" rel = "stylesheet" > |
3 |
< script src = "//code.jquery.com/jquery-1.11.3.min.js" ></ script > |
4 |
< script src = "dist/pisocials.js" ></ script > |
2. Create a container to place your social share buttons.
3. Generate a default social share widget inside the container.
1 |
$( "#demo" ).pisocials(); |
4. Customize the social share widget.
14 |
"title" : "jQuery Script" , |
This awesome jQuery plugin is developed by pixelimage. For more Advanced Usages, please check the demo page or visit the official website.