mattbradley / livestampjs

A simple, unobtrusive jQuery plugin that provides auto-updating timeago text to your timestamped HTML elements using Moment.js.
http://mattbradley.github.com/livestampjs
MIT License
409 stars 70 forks source link

added alt-text support, and alt text formatting #28

Open KommuSoft opened 10 years ago

KommuSoft commented 10 years ago

When the user hovers (with his mouse) over the <span>...</span> element, a formatted string containing the time stamp is shown using the LLLL format.

The user can also provide a format him/herself using the livestampaltformat attribute.

When the title-element of the <span> tag is modified, a change.title event is risen as well...

The code is not yet minimized to allow fast editing.