jQuery plugin for listing profiles and sharing
Switch branches/tags
Nothing to show
Clone or download
tolgaergin Update socialShare.min.js
changed encodeURI to encodeURIComponent
Latest commit e0631f1 Sep 19, 2013

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