Created
October 27, 2011 12:26
-
-
Save dannycroft/1319420 to your computer and use it in GitHub Desktop.
Asynchronous Twitter Tweet Button
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
<script type="text/javascript"> | |
(function() { | |
var t = document.createElement("script"); | |
t.type = "text/javascript"; | |
t.src = "//platform.twitter.com/widgets.js"; | |
t.async = true; | |
document.getElementsByTagName('head')[0].appendChild(t); | |
})(); | |
</script> | |
<a href="https://twitter.com/share" class="twitter-share-button" data-count="horizontal">Tweet</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment