Tuesday, December 3, 2013

Quick and dirty social media links

If you're looking for a quick way to get a few social media sharing links on your site without messing with JavaScript and remotely hosted widgets, here is a simple solution.  Below are some HTML snippets and images you can throw together in just a few minutes.

Sample link bar:
     

Facebook code:
<a href="http://www.facebook.com/sharer.php?u=http://blog.slor.net" target="_blank" title="Share on Facebook"><img src="http://www.slor.net/images/facebook.png" /></a>

Twitter code:
<a href="http://twitter.com/share?text=An%20interesting%20blog&url=http://blog.slor.net" target="_blank" title="Share on Twitter"><img src="http://www.slor.net/images/twitter.png" /></a>

Google+ code:
<a href="https://plus.google.com/share?url=http://blog.slor.net" target="_blank" title="Share on Google+"><img src="http://www.slor.net/images/googleplus.png" /></a>

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.