jQuery日期选择插件:glDatePicker
jopen
12年前
glDatePicker是一个简单,可以定义,轻量级jQuery日期选择插件。压缩后只有4KB左右。它提供的一些功能包括:向前和向后导航, 默认当天日期高亮选中,显示当前选中的日期,限制日期选择范围(如:将日期限制在开始日期后的N天内),设置每一个日期选择器的样式。
特性:
- Stylize current date, selected date, special dates and individual days of the week
- Set data on special dates (that is returned on callback when selected)
- Repeatable date ranges, individual dates and special dates
- Restrict selection to range of dates, individual dates, years, months and days of the week
- Restricting forward / backwards month navigation
- Automatically jump to respective month on selection (if it is the next or previous month)
- Offset days of the week (e.g. make Wednesday the first day of the week)
- Jump to specific month or year through select drop-down
- Customizable month names and days of week names
- Callbacks for when date is selected and when calendar is about to show or hide
- Individual styles per date picker on the same page
- Render directly below input control (by default) or specify a custom element to render into