Get started with Sharrre CDN
MIT licensed
Sharrre is a social media sharing platform for websites and blogs.
Tags:- jQuery
- plugin
- share
- widget
Stable version
Copied!
How to start using Sharrre CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with Sharrre CDN - cdnhub.io</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/sharrre/2.0.1/sharrre.css">
<script src="https://cdn.cdnhub.io/Sharrre/2.0.1/jquery.sharrre.min.js"></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
</head>
<body>
<button id="share-button">Share this page</button>
<script>
$(document).ready(function() {
$('#share-button').sharrre({
share: {
networks: ['facebook', 'twitter', 'linkedin'],
buttons: {
facebook: {scope: 'public'},
twitter: {count: 'vertical'},
linkedin: {buttonText: 'Share'}
}
},
click: function(api, options) {
alert('Button clicked!');
}
});
});
</script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!