jQuery Week Calendar 1.2.0 Release

rob

A new release of the week calendar plugin has been published with a number of enhancements and bug fixes. Part of this release included an internal refactoring to base the calendar off the jQuery-UI widget framework. I think this has helped to clean the code up and certainly simplified things. I think there’s still more that can be done in this area andĀ  I expect to refine the internals over the next couple of releases. If anyone’s interested in a run down on the jQuery-UI widget structure, I found this to be a very helpful article.

This release contains the following improvements:

  • Added better layout support for overlapping of events (there are still some improvements to be made in this area but it’s a lot better than it was)
  • Added ability to supply formatters for dates and times. You can also define your own day, month name arrays to be used by the date and time formatters.
  • Added improved demo with creation / editing of events using jquery ui.
  • All demos are now served directly out of google code svn
  • Added option to only display hours defined in the ‘businessHours’ config option.
  • Migrated code-base to extend jquery-ui widget.
  • Improved inline method documentation.
  • Added ‘readonly’ config option to flag the entire calendar as readonly, preventing creation, dragging, dropping and resizing of events.
  • Added ability to configure day, month names for better i18n support
  • Fixed bug with IE7 resizing once an event gets to 2 timeslots or smaller
  • Added public method for returning an array of valid timeslotsĀ  for a given date based on the calendar options. Useful for populating select fields with start and end times.

Thanks to everyone who’s helped submitting bug reports, feature requests. I attempted to get the most pressing ones out in this release and hope to follow it up with another release in the next week or so.


5 Responses to “jQuery Week Calendar 1.2.0 Release”

  • Matthias Says:

    Just stumbled through Webappers on your calendar. Awesome work… especially with the jQuery-UI framework. :D

  • Daniel Says:

    Hello, can you help me?
    I need add shift in calendar, how i can do it?
    For example from 8:00 to 14:00 user cant’t add events in Monday and from 14:00 to 18:00 in Tuesday etc.

    Thank you.

  • Rob Says:

    Hey Daniel,

    I’m not completely following what you’re trying to do there. Can I suggest posting the question to the google group here and adding a little bit more detail – http://groups.google.com/group/jquery-week-calendar?pli=1

    You’ll be able to draw on the experience of a few of the people integrating this into their apps as well.

    cheers,
    rob

  • Hugo Says:

    This is a great plugin!, iam searching some like that

  • Maurits Says:

    i want to add diffrent backgroundcolor for diffrent titles?
    like
    if(calEvent.title==’Huishoudelijke hulp’){$(“.cal-event”).css(“background-color”,”red”)}
    can you point me in the right direction where to alter the code?

Leave a Reply