jQuery周日历插件

时间:2010-01-24 18:23:08

标签: javascript jquery calendar

我在网上搜索,一无所获。也许这里有人可能会使用google无法给我的东西。

我想使用周历。我正在使用this并且遇到很多困难。一个是当我的日期和时间相同时,它们相互重叠,只能点击顶部的一个。我试图破解代码,但感觉就像永远。

你可以建议任何jQuery周历?

2 个答案:

答案 0 :(得分:5)

查看基于jQuery的日历at this list。我对Datepicker有很好的经验,可以高度定制。其中许多可以定制为“周视图”

答案 1 :(得分:0)

$('#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
    }
});

标记为“拆分列”的部分启用拆分列并显示两个冲突事件。

相关问题