On Thu, Oct 22, 2009 at 7:21 PM, Andri <4r53...@gmail.com> wrote: > > Hi, I needed events calendar for my site. This calendar should : > 1. highlight date that had events > 2. If i click it, it'll go to events page or show alert about what > events that occur that date. > > > I try to use datepicker to do this. For #2 i can do it using onSelect > (dateText). But i can't figure out how to highlight date (default is > highlighting current date), and its better if the highlight can use > another style than ui-state-highlight, so there will be > differentiation between current date and events date. > > Anybody can help me? >
That's not what the datepicker plugin is for. To create a calendar of existing dates, you'd need to build the table yourself. Normally, this would be done using server-side logic (eg. PHP) and a database table for the event dates.