jQuery ClassySocial


ClassyBox 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.

Free jQuery Plugins, HTML5 and CSS3 Scripts - Providing tons of Jquery Plugins,Html5 and CSS3 Scripts for web developers to preview and download. By using these resources, you can create amazing effects with fancy animations of content elements like text, images and so on.

Currently supports Facebook, Twitter, Dribbble, Socl, Youtube, Vimeo, Google Plus, Pinterest, LinkedIn, Instagram and e-mail.

Allow your users to see your presence on 11 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!

Click on the image to the right of this text for a demo.


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.

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>

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.

<script src="js/jquery.classysocial.js"></script>
<link rel="stylesheet" type="text/css" href="css/jquery.classysocial.css" />

Next, you implement the structure on which you want to trigger the plugin.

<div class="classysocial right" data-arc-length="360" data-image-type="facebook"
    data-picture="picozu" data-facebook-handle="picozu"
    data-twitter-handle="picozu_editor" data-email-handle="[email protected]"

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").each(function() {
    new ClassySocial(this);


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.

data-picture - can be either the name of the Facebook profile, an image url (ex images/test.jpg) or 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 or line.

data-gap - the gap (in pixels) between the profile bubbles.

data-arc-start - start of the arc, from 1 to 360.

data-arc-length - length of the arc, from 1 to 360.

data-radius - the radius of the arc.