Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
jQuery plugin for listing profiles and sharing
CSS JavaScript
branch: master

Update socialShare.min.js

changed encodeURI to encodeURIComponent
latest commit e0631f187a
@tolgaergin authored

README.markdown

jQuery Plugin for Listing accounts and Sharing page

Usage

<link rel="stylesheet" href="/assets/stylesheets/arthref.min.css">

If you use the plugin in order to link to your profiles, you need to load jQuery first then arthrefSocialProfiles.js

<script src="/assets/javascripts/socialProfiles.min.js"></script>

Then initialize the variables

$('#clickable').socialProfiles({
    email: 'example@example.com',
    facebook: 'tolgaergin',
    twitter: 'tolgaergin',
    pinterest: 'tolga',
    dribbble: 'bbb',
    skype: 'tolgaergin.com',
    linkedin: 'tr.linkedin.com/in/tolgaergin'
});

(When listing your social accounts, for some websites such as LinkedIn, Evernote, Paypal, Windows, Flud, AIM, Yahoo you need to write url address without "http://" or "https://" Because, these websites doesnt have regular url.)

If you use the plugin in order to share pages, you need to load jQuery first then arthrefSocialShare.js

<script src="/assets/javascripts/socialShare.min.js"></script>

Then initialize the variables

$('#clickable').socialShare({
    social: 'blogger,delicious,digg,facebook,google,linkedin,myspace,reddit,stumbleupon,tumblr,twitter,windows,yahoo'
});

Directory and files

/assets
    /stylesheets
        arthref.min.css
    /images
        social-sprite.png
    /javascripts
        socialProfiles.min.js
        socialShare.min.js

Authors

Tolga Ergin

Gökhun Güneyhan

Something went wrong with that request. Please try again.