Skip to content

jaredhales/prettySocial

 
 

Repository files navigation

prettySocial

jQuery prettySocial - a custom share buttons for Pinterest, Twitter, Facebook and Google Plus.

Setup

Setup is pretty straight forward, each button requires set of data-*="" attributes and you apply jQuery plugin.

	$('.prettySocial').prettySocial();

General

These data attributes applied to all social networks.

Field Description
type Social Network (twitter, pinterest, facebook, googleplus)
url URL you want to share
description Description of the page
media URL to an image

Twitter

Field Description
via Your Twitter screen name

Facebook

Field Description
title Your page title

Packages

No packages published

Languages

  • JavaScript 61.6%
  • HTML 38.4%