Jan
8th
Thu
8th
Add a “Tweet this” to your tumblr blog.
So you want to have a fancy “Tweet this” button on your tumblr blog? Thats very easy. All you have to do is to paste some javascript I wrote for you. Go into Customize/Theme and click custom html (if you haven’t done that) put this code inside of the head tag:
<script language=”JavaScript” type=”text/javascript”>
function gotoTwitter() {
var url = “http://twitter.com/home?status=Currently reading ” + location.href;window.open(url);
}
</script>
So the only thing you have to do now is to add this little snippet by clicking the html button when you edit/create your blog post.
<a onClick=”javascript:gotoTwitter();” title=”Click to send this page to Twitter!” target=”_blank”><img src=”http://farm3.static.flickr.com/2047/2347756292_5586df8b74.jpg?v=0” /></a>
Done! Thanks to imjustcreative for the fancy icon.
