Verbose Logging

software development with some really amazing hair

T + S G I F R

Tweet Link Rollover

· · Posted in Meta
Tagged with

I don’t like visiting sites for something really simple. Reading a single tweet is one of them. If I link to a tweet, you shouldn’t have to go to Twitter to view it. It’s just 140 characters.

So what did I do? I added some codes to my blog to pull those tweets in. If I link to a tweet, I can go off to Twitter, pull in the tweet and set the ‘title’ attribute on the anchor tag so when you hover over the link, it shows the tweet text. Yay!

From this:

…to this:

Better? I think so. Code here.

Here’s a live example.

<speech type=‘Oscar’> I’d like to thank jQuery, Twitter, Heroku, Ruby, and everybody that worked with me on this project!!</speech>

Sharing is Caring