|
<ul class="d-flex justify-content-center list-unstyled" id="author-links"> |
|
<li class="mx-1"> |
|
<a id="facebook-share" class="square-share-button color-facebook theme-default-font smaller" |
|
href="" |
|
onclick="window.open(this.href, 'facebookwindow','left=20,top=20,width=600,height=700,toolbar=0,resizable=1'); return false;" |
|
> |
|
<img src="/images/social-facebook.svg"> |
|
</a> |
|
</li> |
|
<li class="mx-1"> |
|
<a id="linkedin-share" class="square-share-button color-linkedin theme-default-font smaller" |
|
href="" |
|
onclick="window.open(this.href, 'linkedinwindow','left=20,top=20,width=600,height=700,toolbar=0,resizable=1'); return false;" |
|
> |
|
<img src="/images/social-linkedin.svg"> |
|
</a> |
|
</li> |
|
<li class="mx-1"> |
|
<a id="twitter-share" class="square-share-button color-twitter theme-default-font smaller" |
|
href="" |
|
onclick="window.open(this.href, 'twitterwindow','left=20,top=20,width=600,height=300,toolbar=0,resizable=1'); return false;" |
|
> |
|
<img src="/images/social-twitter.svg"> |
|
</a> |
|
</li> |
|
</ul> |
|
|
|
<script> |
|
var urlencoded_page_title = encodeURI(document.getElementsByTagName("title")[0].innerHTML); |
|
var urlencoded_url_of_page = encodeURI(window.location.href); |
|
var facebook_share_link_url = 'https://www.facebook.com/sharer.php?t='+urlencoded_page_title+'&u='+urlencoded_url_of_page; |
|
var linkedin_share_link_url = 'https://www.linkedin.com/sharing/share-offsite/?url='+urlencoded_url_of_page; |
|
var twitter_share_link_url = 'https://twitter.com/intent/tweet?text='+urlencoded_page_title+'&url='+urlencoded_url_of_page; |
|
var a_fb = document.getElementById('facebook-share'); |
|
a_fb.href = facebook_share_link_url; |
|
var a_li = document.getElementById('linkedin-share'); |
|
a_li.href = linkedin_share_link_url; |
|
var a_tw = document.getElementById('twitter-share'); |
|
a_tw.href = twitter_share_link_url; |
|
</script> |