ClassySocial
Socialize with the power of jQuery!
Introduction
ClassySocial is a jQuery plugin written by Marius Stanciu - Sergiu, a plugin that lets your site visitors easily see what networks you belong to and visit them in a click of a button.
Currently supports Facebook, Twitter, Dribbble, Socl, Youtube, Vimeo, Google Plus, Pinterest, LinkedIn, Instagram, Flickr, Blogger, GitHub, DeviantArt, Skype, Steam, Wordpress, Yahoo and e-mail.
Allow your users to see your presence on 18 of the most popular networks instantly with no need for a knowledge of coding! Have links to your Facebook, Twitter, Vimeo, Dribbble, Instagram, YouTube (and more!) profiles shown in a slick way, sure to impress your users.
Includes functionality to use your current Facebook image as the button that users press to draw out the network buttons, with automatic updating, pulled straight from Facebook!
Download it
License
This jQuery plugin is distributed under the MIT license. Enjoy!Demo
Setup
First you need to include the jQuery library, since ClassySocial is a plugin. You can download it from the jQuery website or link it directly from the Google CDN.
Secondly, you need to include the jQuery ClassySocial javascript and the CSS file, which you can do it by adding the code below to your page.
Next, you implement the structure on which you want to trigger the plugin.
As the last step, you trigger the plugin on the element you just created. In this case, we trigger it on the element with the class classysocial.
$('.classysocial').ClassySocial();
Options
-
Parameters
- data-theme - the current theme, can be default, square or slick
- data-networks - comma-separated list of social networks
- data-image-type - can be facebook if you want your Facebook profile image to be shown by default or picture, default is picture
- data-picture - can be either the name of the Facebook profile, an image url (ex images/test.jpg) or none, default is none
- data-YYY-handle - where YYY can be the name of the social networks listed in the data-networks setting. Create a data-YYY-handle for each of the social networks
- data-orientation - orientation, can be arc, line or linedown, default is arc
- data-gap - the gap (in pixels) between the profile bubbles, default is 50 pixels
- data-arc-start - start of the arc, from 1 to 360, default is 0
- data-arc-length - length of the arc, from 1 to 360, default is 180
- data-radius - the radius of the arc, default is 80