Skip to content

Latest commit

 

History

History
60 lines (49 loc) · 1.35 KB

README.md

File metadata and controls

60 lines (49 loc) · 1.35 KB

jQuery Sharrre Plugin

Make your sharing widget! Sharrre is a jQuery plugin that allows you to create nice widgets sharing for Facebook, Twitter, Google Plus (with PHP script) and more. More information on [Sharrre] (http://sharrre.com/#demos)

Usage

$('#sharrre').sharrre({
share: {
  googlePlus: true,
  facebook: true,
  twitter: true
},
url: 'http://sharrre.com'
 });

Example

$(document).ready(function(){ $('#demo1').sharrre({ share: { googlePlus: true, facebook: true, twitter: true, delicious: true }, buttons: { googlePlus: {size: 'tall'}, facebook: {layout: 'box_count'}, twitter: {count: 'vertical'}, delicious: {size: 'tall'} }, hover: function(api, options){ $(api.element).find('.buttons').show(); }, hide: function(api, options){ $(api.element).find('.buttons').hide(); } }); });

See example on [official website] (http://sharrre.com/#demos)

Dependencies

jQuery 1.7

Author