Verbose Logging

software development with some really amazing hair

31 Dec 09

04:46 PM MDT

Posted in Meta

Tweet link rollover

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:

Twitter / GitHub: Don't worry, we have all o ...
Uploaded with plasq’s Skitch!


…to this:

Tweet rollover hint
Uploaded with plasq’s Skitch!


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>

Share/Bookmark

blog comments powered by Disqus