Skip to content

Instantly share code, notes, and snippets.

@hkulekci
Created August 10, 2011 08:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hkulekci/1136352 to your computer and use it in GitHub Desktop.
Save hkulekci/1136352 to your computer and use it in GitHub Desktop.
My Share Buttons at scanf.info for tumblr
<br class='clear' />
<div align="right">
<script>function pin_click(urll,titlee,media) {window.open('pinterest.com/pin/create/button/?url='+encodeURIComponent(urll)+'&description=test'+encodeURIComponent(titlee)+'&media='+media,'sharer','toolbar=0,status=0,width=626,height=436');return false;}</script>
<script>function twt_click(urll,titlee) {window.open('http://twitter.com/intent/tweet?url='+encodeURIComponent(urll)+'&text='+encodeURIComponent(titlee)+' via @kulekci&related=scanf.info','sharer','toolbar=0,status=0,width=626,height=436');return false;}</script>
<a href="http://twitter.com/intent/tweet?url={Permalink}&text={Title} via @kulekci&related=scanf.info" target="_blank" onclick="return twt_click('{Permalink}','{Title}')" ><img src="http://kulekci.net/wp-content/uploads/social_networking_iconpack/twitter_16.png" alt="Twitter"></a>
<script>function fbs_click(urll,titlee) {window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(urll)+'&t='+encodeURIComponent(titlee),'sharer','toolbar=0,status=0,width=626,height=436');return false;}</script>
<a rel="nofollow" href="http://www.facebook.com/share.php?u={Permalink}" onclick="return fbs_click('{Permalink}','{Title}')" target="_blank"><img src="http://kulekci.net/wp-content/uploads/social_networking_iconpack/facebook_16.png" alt="Facebook"></a>
<script>function ggp_click(urll,titlee) {window.open('http://www.google.com/buzz/post?message=I%20like%20this... '+encodeURIComponent(titlee)+'&url='+encodeURIComponent(urll),'sharer','toolbar=0,status=0,width=626,height=436');return false;}</script>
<a href="http://www.google.com/buzz/post?message=I%20like%20this... {Permalink}&url={Permalink}" target="_blank" onclick="return ggp_click('{Permalink}','{Title}')" ><img src="http://kulekci.net/wp-content/uploads/social_networking_iconpack/google_plus_16.png" alt="Google"></a>
<a href="http://www.reddit.com/submit?url={Permalink}&title=Scanf.info {ShortMonth} {DayOfMonth} {Year} - {12Hour}:{Minutes} {AmPm}" target="_blank"><img src="http://kulekci.net/wp-content/uploads/social_networking_iconpack/reddit_16.png" alt="Reddit"></a>
<a href="http://digg.com/submit?phase=2&url={Permalink}&title=Scanf.info {ShortMonth} {DayOfMonth} {Year} - {12Hour}:{Minutes} {AmPm}" target="_blank"><img src="http://kulekci.net/wp-content/uploads/social_networking_iconpack/digg_16.png" alt="Digg"></a>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment