Nolan's Blog

a PHP JS UI APP developer

zdatepicker

zdatepicker — a simple,light-weight datepicker plugin for jquery.

GitHub
GitHub – zdatepicker

Plugin Page
jQuery Plugins – zdatepicker

Change Log
[tab name=”3.1.2″]
Date:2014-02-08
Contributor:page7
 1.Add: new option – “prevbtn”.
 2.Add: new option – “nextbtn”.
 3.Rename: new name “zdatepicker”.
 4.Add: new option – “weekoffset”.
 5.Add: new option – “onFilter”, you can use it to change date’s view.
[/tab]
[tab name=”3.0″]
Date:2014-01-30
Contributor:page7
 1.Fix bug.
 2.Optimize: rewrite 40%+ code.
 3.Add: add callback about select_year / select_month / next_month ..
 4.Update: change note and demo for English.
 5.Update: add option:onReturn.
 6.Update: not be compatible for lower version.
 7.Delete: $.fn.icalendar.onReturn.
[/tab]
[tab name=”2.1″]
Date:2013-03-25
Contributor:page7
 1.Fix bug:multiple. option – selected
[/tab]
[tab name=”2.0.1″]
Date:2013-03-12
Contributor:feng / page7
 1.Add:Click month’s link to change month like change year.
 2.Optimize:Some dom selector.
 3.Optimize:Efficiency about date format.
[/tab]
[tab name=”1.0.7″]
Date:2012-06-21
Contributor:page7
 1.Add:Use a dom to be filled the datepicker. option – use.
 2.Add:Replace a date to a text. eg: 2014-1-1 => Today. option – repleace, eg:{‘2014-1-1′:’Today’}.
[/tab]
[tab name=”1.0.6″]
Date:2012-06-13
发 布:page7
 1.Update:Use php for demo.
 2.Fix bug:Set option – selected default value to false.
[/tab]
[tab name=”1.0.5″]
Date:2012-03-30
Contributor:page7
 1.Update:If set option – selected, load selected values first.
 2.Update:option – event is empty that be allow.
 3.Add:Add a demo about plugin’s method onReturn.
 4.Add:Rewrite icalendar.onReturn or icalendar.callback to do sth for date or dom.
 5.Fix bug: Fix bug about the input that not have attr “value” or value is a array join by “,”.
[/tab]
[tab name=”1.0.4″]
Date:2011-10-21
Contributor:page7
 1.Add:[option:format{date,month,year,onlymonth}], eg:“2011-Jun-1” “11/12/2011”…
 2.Add:two callback function’s options:[option:year2str] and [option:str2year].
  Use for special era like taiwan or japan’s old era.
 3.Optimize:Remove redundant code.
 4.Fix bug.
[/tab]
[tab name=”1.0.0″]
Date:2011-08-27
Contributor:page7
 release!
[/tab]
[end_tabset]

Download

style sheet (2.2Kb)
uncompressed JS (22.2Kb)
minified JS (11Kb)

Simple Demo

[tab name=”Demo”]

[/tab]
[tab name=”Code”]
$(“.time”).zdatepicker();
[/tab]
[end_tabset]

More Demo

DOC & DEMO

中文文档及演示~


  • 无推荐内容

发表评论

电子邮件地址不会被公开。 必填项已用*标注

╰( ̄▽ ̄)╯∑(⊙▽⊙)( ̄v ̄``)(=▽、=)(-▽<)☆("▔□▔)(  ̄_ ̄)(┬_┬)(≡─ ─)(= ̄ω ̄=)(* ̄v ̄)ノ(*≧v≦)(#‵′)

Powered by WordPress.org.