🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

setShare.js is a jQuery plugin used to display social like buttons near (append, prepend, after, before or replace) the target Html element.

social-button social-like

Documentation

setShare.js

A jQuery plugin to add social like buttons with one single call.

Demo

http://masquerade-circus.net/myPlugins/setShare/

##How to use: Call the plugin on the set of elements to add the like buttons.

##Options:

	$(selector).setShare(options); 	$('elem').setShare({ 		url: string, 		description: string, 		image: string, 		action: 'append'||'prepend'||'after'||'before'||'replace'||'html', 		facebook: true||false, 		twitter: true||false, 		google: true||false, 		pinterest: true||false 	});

Defaults to window.location and description of the page set in the head tag, all 4 buttons and action 'replace'.

Legal

Author & copyright (c) 2013: Masquerade Circus

Dual MIT & GPLv2 license


You May Also Like