Skip to content

Instantly share code, notes, and snippets.

@ezy
Created September 11, 2013 01:13
Show Gist options
  • Save ezy/6518145 to your computer and use it in GitHub Desktop.
Save ezy/6518145 to your computer and use it in GitHub Desktop.
Hardcoded share links
<!-- I got these buttons from simplesharebuttons.com -->
<div id="share-buttons">
<!-- Facebook -->
<a href="http://www.facebook.com/sharer.php?u=#" target="_blank"><img src="#" alt="Facebook" /></a>
<!-- Twitter -->
<a href="http://twitter.com/share?url=#&text=Simple Share Buttons" target="_blank"><img src="#" alt="Twitter" /></a>
<!-- Google+ -->
<a href="https://plus.google.com/share?url=#" target="_blank"><img src="#" alt="Google" /></a>
<!-- Digg -->
<a href="http://www.digg.com/submit?url=#" target="_blank"><img src="#" alt="Digg" /></a>
<!-- Reddit -->
<a href="http://reddit.com/submit?url=#&title=Title" target="_blank"><img src="#" alt="Reddit" /></a>
<!-- LinkedIn -->
<a href="http://www.linkedin.com/shareArticle?mini=true&url=#" target="_blank"><img src="#" alt="LinkedIn" /></a>
<!-- Pinterest -->
<a href="javascript:void((function()%7Bvar%20e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','http://assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)%7D)());"><img src="#" alt="Pinterest" /></a>
<!-- StumbleUpon-->
<a href="http://www.stumbleupon.com/submit?url=#&title=#" target="_blank"><img src="#" alt="StumbleUpon" /></a>
<!-- Email -->
<a href="mailto:?Subject=Simple Share Buttons&Body=I%20saw%20this%20and%20thought%20of%20you!%20 #"><img src="#" alt="Email" /></a>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment