首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > timefield

timefield

  • 资源大小:3.68 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: jquery time facebook

资 源 简 介

Introduction timefield is a jQuery plugin to create Facebook-like time fields which are auto updating. So if you leave the page open for a while, then after ten minutes you don"t see posted 8 seconds ago but posted 10 minutes ago as it should be. Demo Can be found here http://jscode.org/timefield/ Contact Andris Reinman andris.reinman@gmail.com Usage Inserting timefields You can insert a new timefield to the page by two ways - either adding it directly to the HTML or creating a new DOM element with the timefield plugin and adding it where you want it. A timefield is basically any DOM element which has a CSS class name "timefield" and defining point for the starting time (which is also set as a CSS class name in the form of t:JS_TIMESTAMP). Example:

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP