开发者

jQuery week calendar plugin

I have search the net and found nothing. Maybe someone here might have used something that google can't give me.

I wanted to use a week calendar. I am using this and have many difficulty in it. One is when my date and time are the same, they overlap in one another and only the one at the top can be clicked. I have tried to hack the codes but it feels li开发者_开发技巧ke forever.

Any jQuery week calendar you can suggest?


Look at this list of jQuery-based calendars. I had good experience with Datepicker which is highly customizable. Many of these can be customized to "week-view"


$('#calendar').weekCalendar({
    timeslotsPerHour: 6, 
    // START SPLIT COLUMN
    allowCalEventOverlap: true, // Enable conflicting events
    overlapEventsSeparate: true, // Separate conflicting events
    // END SPLIT COLUMN
    daysToShow: 6, // Number of days to show initially
    switchDisplay: { '1 day': 1,  '3 next days': 3, 'work week': 5, 'full week': 6}, // Selector for number of days to be shown
    firstDayOfWeek : 1, // Sets the beginning of the week as Monday
    businessHours :{start: 7, end: 23, limitDisplay: true}, // Limits the time shown
    data: {
    events: eventData
    }
});

The section marked as "split column" enables the split column and shows both conflicting events.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜