Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Simple Social Media "Share" Buttons
<div><!-- social media share buttons -->
<a href="http://www.facebook.com/" onclick="window.location = 'http://www.facebook.com/share.php?u=' + encodeURIComponent(window.location); return false"><img src="http://i.imgur.com/aLnZg.png" alt="Share on Facebook" border="0" /></a>
<a href="http://twitter.com/" onclick="window.location = 'http://twitter.com/home/?status=' + encodeURIComponent(window.location); return false"><img src="http://i.imgur.com/oFrLG.png" alt="Tweet This" border="0" /></a>
<a href="http://www.linkedin.com/" onclick="window.location = 'http://www.linkedin.com/shareArticle?mini=true&url=' + encodeURIComponent(window.location); return false"><img src="http://i.imgur.com/mwHNU.png" alt="Share on LinkedIn" border="0" /></a>
<a href="https://plus.google.com/" onclick="window.location = 'https://plus.google.com/share?url=' + encodeURIComponent(window.location); return false"><img src="http://i.imgur.com/tzMMp.png" alt="Share on Google+" border="0" /></a>
<a href="http://www.reddit.com/submit" onclick="window.location = 'http://www.reddit.com/submit?url=' + encodeURIComponent(window.location); return false"><img src="http://i.imgur.com/7Xlq0.png" alt="Share on reddit" border="0" /></a>
<a href="http://pinterest.com/" onclick="window.location = 'http://pinterest.com/pin/create/button/?url=' + encodeURIComponent(window.location); return false"><img src="http://i.imgur.com/5grYc.png" alt="Share on Pinterest" border="0" /></a>
</div><!--/ social media share buttons -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment