datepicker - themeroller CSS issue
Hi,
I just rolled a css theme using themeroller, and I'm trying to get a
simple datepicker setup using the latest UI release candidate.
My problem is when I open the datepicker which defaults to the current
month, instead of using the Next image, i get:
<div class="ui-datepicker-next"><label>Next></label><label/></div>
If I go back to November, the correct next image is shown.
Also the overall width of the datepicker widget seems to be too
narrow.
I've linked images here:http://flickr.com/photos/59333955@N00/sets/
72157611019103164/
My code to initialize the datepicker is:
$("#startDate,#endDate").datepicker({
beforeShow: customRange,
dateFormat: 'yy-mm-dd',
showOn: "button",
buttonImage: "images/calendar.gif",
buttonImageOnly: true
});
//current range req: max date is the current date
function customRange(input) {
return {minDate: (input.id == "endDate" ? $("#startDate").datepicker
("getDate") : null),
maxDate: new Date()};
}
Any help would be great. Thanks,
Matt