Kurcze, przeciez masz tam wszystko opisane, jak wol.
Cytat
You can restrict the functionality of the date picker in various ways. The first example sets the first day of the week to Monday and prevents it from being changed, as well as preventing the month and year from being selected directly.
Restricted functionality: Calendar
$('#restrictControls').attachDatepicker({firstDay: 1, changeFirstDay: false,
changeMonth: false, changeYear: false});
You can also limit the range of dates selectable within the date picker. Here it's between 26-Jan-05 and 26-Jan-07.
Limited dates: Calendar
$('#restrictDates').attachDatepicker({minDate: new Date(2005, 1 - 1, 26),
maxDate: new Date(2007, 1 - 1, 26)});
Or set a range relative to today by specifying a number rather than an exact date, in this case in the coming year.
Limited dates (relative): Calendar
$('#relativeDates').attachDatepicker({minDate: 0, maxDate: 365});
The relative dates can also be specified as a number and a period - 'd' for days, 'w' for weeks, 'm' for months, or 'y' for years.
Limited dates (extended): Calendar
$('#extendedDates').attachDatepicker({minDate: '-1d', maxDate: '6y'});
Note that the range of selectable months and years changes appropriately. Also, note that the Today link is no longer available as today is not in the range. By default, the Prev and Next links are disabled if they are not applicable. You can override this to remove them instead, with the hideIfNoPrevNext setting.
Polataj po zakladkach co tam masz na stronie. Tam jest dokladny opis. Dostajesz wszystko jak na dloni i jeszcze marudzisz....