Howdy Peter, in fact I discovered beforeShowDay shortly after posting
the above message, converted my code and have been happy with the
results. Thanks for posting the solution here (I forgot).
On Oct 20, 1:26 am, PeterAce <[EMAIL PROTECTED]> wrote:
> Why don't u use datepickers functionality to highlight special days?
> I use an inline datepicker as well and showing special days works just
> fine.
> I use something similar to:
>
> $("#mnu_calendar").datepicker({
> ... other options
> beforeShowDay: function(thedate) {
> var theday = thedate.getDate();
> if( $.inArray(theday,specialDays) == -1 ) return [true,""];
> return [true, "specialDate"];
> },
> ... more options
>
> });
>
> specialsDays is my array with special days in this month e.g. [3, 12,
> 24].
> "specialDate" is the CSS class name datepicker will add to the special
> days, so you can make them look anyway you want
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---