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


prettySocial

jQuery prettySocial - Pinterest,Twitter,Facebook和Google Plus的自定义分享按钮。

Setup

安装非常简单,每个按钮都需要一组数据 - * =属性,你应用jQuery插件。

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

一般

这些数据属性应用于所有社交网络。

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




相关问题推荐