Created
October 10, 2010 03:26
-
-
Save abraham/618903 to your computer and use it in GitHub Desktop.
Add social media share links to your Blogger blog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Place share links here --> | |
<div class='post-header'> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Share links --> | |
<b:if cond='data:blog.pageType == "item"'> | |
<div class='social-share-links'> | |
<a class="DiggThisButton DiggCompact"></a><script type="text/javascript">(function() { var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0]; s.type = 'text/javascript'; s.async = true; s.src = 'http://widgets.digg.com/buttons.js'; s1.parentNode.insertBefore(s, s1); })(); </script> | |
<a title="Post to Google Buzz" class="google-buzz-button" href="http://www.google.com/buzz/post" data-button-style="small-count"></a><script type="text/javascript" src="http://www.google.com/buzz/api/button.js"></script> | |
<a name="fb_share" type="button_count" class='facebook-share-button' href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script> | |
<a href="http://twitter.com/share" class="twitter-share-button" data-via="" data-count="horizontal" data-related="abraham:Hacker Advocate looking for awesome people, ideas, and projects.">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> | |
</div> | |
</b:if> | |
<!-- /Share links --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iframe.twitter-share-button.twitter-count-horizontal { position: relative; top: 7px; } | |
.facebook-share-button { position: relative; top: 1px; } | |
.fb_share_count_nub_right { position: relative; top: 8px; } | |
.db-wrapper { height: 19px; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment