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/[EMAIL PROTECTED]/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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to jquery-ui@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to