How can I make a button for sharing to linkedin? I did facebook, google, twitter and whatsapp but I'm not getting it. For example look at this one from facebook:
<script type="text/javascript">
var win = null;
function novaJanela(pagina, nome, w, h, scroll) {
LeftPosition = (screen.width) ? (screen.width - w) / 2 : 0;
TopPosition = (screen.height) ? (screen.height - h) / 2 : 0;
settings = 'height=' + h + ',width=' + w + ',top=' + TopPosition + ',left=' + LeftPosition + ',scrollbars=' + scroll + ',resizable'
win = window.open(pagina, nome, settings);
}
</script>
<div class="social-ctn fb">
<a href="#" onclick="NovaJanela('http://www.facebook.com/sharer/sharer.php?u=http://www.cissamagazine.com.br/blog/xperia-c5-ultra-m5-reis-da-fotografia', '', '550', '470', 'yes');return false">
<div class="icon"></div>
<span class="text facebook">Facebook</span>
</a>
</div>