diff options
author | Keith Wood <kbwood.au@gmail.com> | 2008-06-16 12:52:39 +0000 |
---|---|---|
committer | Keith Wood <kbwood.au@gmail.com> | 2008-06-16 12:52:39 +0000 |
commit | 391c6561efea4c96cbb95ed95c9200f4f3279b41 (patch) | |
tree | 70acf71ea6d4c1d5b3fa7ca8ef65ba773195441c /demos | |
parent | 5a920d2b48caefd0cdd29bc031530eee4205c237 (diff) | |
download | jquery-ui-391c6561efea4c96cbb95ed95c9200f4f3279b41.tar.gz jquery-ui-391c6561efea4c96cbb95ed95c9200f4f3279b41.zip |
Demonstrate range select with min/max date restriction
Diffstat (limited to 'demos')
-rw-r--r-- | demos/functional/templates/ui.datepicker.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/functional/templates/ui.datepicker.html b/demos/functional/templates/ui.datepicker.html index 453c784ae..b609c0030 100644 --- a/demos/functional/templates/ui.datepicker.html +++ b/demos/functional/templates/ui.datepicker.html @@ -129,6 +129,7 @@ { desc: 'Range select showing two months', source: '$("#ranges").datepicker({rangeSelect: true, numberOfMonths: 2, showOn: "both", buttonImage: "templates/images/calendar.gif", buttonImageOnly: true});' }, { desc: 'Range select showing six months (moving three at a time)', source: '$("#ranges").datepicker({rangeSelect: true, numberOfMonths: [2, 3], stepMonths: 3, prevText: "<< Previous Months", nextText: "Next Months >>", showOn: "both", buttonImage: "templates/images/calendar.gif", buttonImageOnly: true});' }, { desc: 'Range select excluding weekends', source: '$("#ranges").datepicker({rangeSelect: true, numberOfMonths: 2, beforeShowDay: $.datepicker.noWeekends, showOn: "both", buttonImage: "templates/images/calendar.gif", buttonImageOnly: true});' }, + { desc: 'Range select with min/max settings', source: '$("#ranges").datepicker({rangeSelect: true, numberOfMonths: 2, minDate: "6w", maxDate: "2y", showOn: "both", buttonImage: "templates/images/calendar.gif", buttonImageOnly: true});' } ] }, |