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.
I have a little problem with Sharrre. I removed the link to the file sharrre.php , but I noticed that in my website counting shares is zero. Here is the code I have in the pages
I have a little problem with Sharrre. I removed the link to the file sharrre.php , but I noticed that in my website counting shares is zero. Here is the code I have in the pages
$('.shareme').sharrre({ share : { twitter : true, facebook : true, googlePlus : true }, template : _template, enableHover : false, urlCurl: '', enableTracking : false, render : function(api, options) { $(api.element).on('click', '.twitter', function() { api.openPopup('twitter'); return false; }); $(api.element).on('click', '.facebook', function() { api.openPopup('facebook'); return false; }); $(api.element).on('click', '.googleplus', function() { api.openPopup('googlePlus'); return false; }); $(api.element).on('click', '.w-share', function() { $(this).children('.share-text').toggle(); $(this).children('.share-text').toggleClass('o-share'); return false; }); }});
Thanks for your support