rmm5t/jquery-timeago — Issue #46: Using HTML5 data-* attributes
Author: Keeguon
Created: 2011-10-19 22:48:41+00:00
State: open

I was skimming through bootstrap by @twitter the other day and while reading some of their jQuery/ender plugins I noticed that they were using a cool trick to activate some of their JavaScript based UI elements thanks to the new "data-*" attributes available in HTML5.

I think it would be a decent idea to use that instead of using the "abbr" tag you would have something like this:

The cool thing is that you wouldn't be forced to use "abbr" and attach your timestamp to various elements. This is just an idea but I thought I would suggest it, I'll probably try to make the modifications myself but I thought I'd post the idea before if anyone has suggestions and all...