Plugin jQuery: Smart Time Ago : jQuery library to update the Relative Timestamps

Smart Time Ago : jQuery library to update the Relative Timestamps
http://www.jqueryrain.com/?http://pragmaticly.github.com/smart-time-ago/
https://github.com/pragmaticly/smart-time-ago
25/09/2012

Nội dung

Smart Time Ago : jQuery library to update the Relative Timestamps

Smart Time Ago is a little jQuery library to update the relative timestamps in your document intelligently. (e.g “3 hours ago”).Smart Time Ago will check and update the relative time every 60000 millisecond (60 seconds) in the scope you specify at the beginning. Latter it will check the newest time in your scope then tune the checking time interval to a proper value.

For example, if the newest time in the scope you specify is ’2 hours ago’. There is no need to check and update the relative time every 60 seconds. Instead, Smart Time Ago will automaticly make the checking time interval longer to 30 minutes.


Nguồn: www.jqueryrain.com/2012/09/smart-time-ago-jquery-library-to-update-the-relative-timestamps/


Chưa có phản hồi
Bạn vui lòng Đăng nhập để bình luận