time
所属分类:JavaScript/JQuery
开发工具:PHP
文件大小:37KB
下载次数:0
上传日期:2023-05-17 19:46:28
上 传 者:
sh-1993
说明: 插件,允许您显示事件发生后的时间。PHP在后台格式化日期,然后jQuery更新...
(Plugin to allow you to display the time since an event. PHP formats the dates on the backend, then jQuery updates the times within the browser.)
文件列表:
LICENSE (1080, 2023-05-18)
examples (0, 2023-05-18)
examples\index.php (2194, 2023-05-18)
examples\style.css (1781, 2023-05-18)
lib (0, 2023-05-18)
lib\jquery-3.7.0.min.js (87462, 2023-05-18)
src (0, 2023-05-18)
src\jquery.time.js (3388, 2023-05-18)
src\jquery.time.php (3808, 2023-05-18)
src\langs (0, 2023-05-18)
src\langs\en.json (743, 2023-05-18)
src\langs\en_gb.json (741, 2023-05-18)
src\langs\es.json (755, 2023-05-18)
time.jquery.json (970, 2023-05-18)
Time
====
Plugin to allow you to display the time since an event. PHP formats the dates on the backend, then jQuery updates the times within the browser.
PHP Usage
---------
".jquery_time($time)."";
?>
jQuery Usage
------------
$.time();
More settings include:
$.time({
langFile:'../src/langs/en.json', //the location of the relevant language JSON file (in the src/langs directory)
refreshRate:60000 //how often (in ms) to refresh the times, 0 is no refresh
});
Examples
--------
You can find all the examples live [here](https://edmundgentle.github.io/time/examples/)
近期下载者:
相关文件:
收藏者: