FullCalendar:更改agendaDay背景颜色 [英] FullCalendar: Change agendaDay background-color

查看:165
本文介绍了FullCalendar:更改agendaDay背景颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我看到这个问题时,我没有看到答案。我只是希望能够从一定范围内着色 TD background-color ..



假设我的日历每15分钟有一个插槽分钟,并且从上午9点到晚上9点,我只想着颜色不同,从上午10点到下午3点。

这些信息将来自Feed,但这不是问题。我还没有找到与日历内设定时间有关的 TD s。也许我错过了什么? :)我是 jquery fullCalendar 的新手。

<另外,另一个与主要问题无关的快速问题:


  • 是否可以从事件处理函数获取<$ c启动它的日历的$ c> id ?我在我的页面上有多个日历来模拟甘特图视图。这将使我能够获取正确的提要并填充正确的事件。 以下是针对您的第一个问题的功能要求:
    http:/ /code.google.com/p/fullcalendar/issues/detail?id=144
    务必将其加上星号以获取更新。谢谢

    While I have seen this question asked, I haven't seen the answer. I just want to be able to color the background-color of the TD from a certain range..

    Say I have my calendar that has slot minutes every 15 minutes and from 9am to 9pm, I would like to only color differently 10am to 3pm.

    This information would be coming from a feed but that is not an issue. I haven't found the TDs relating to a set time inside the calendar. Perhaps I missed something? :) I am rather new to jQuery and fullCalendar.

    Also, another quick question that is unrelated to the main one:

    • Is it possible from an event handler to get the id of the calendar that launched it? I have multiple calendars on my page to simulate something like a Gantt view. This will let me be able to fetch the right feed and populate the right events.

    解决方案

    here is the feature request for your first question: http://code.google.com/p/fullcalendar/issues/detail?id=144 make sure to star it to receive updates. thanks

    这篇关于FullCalendar:更改agendaDay背景颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆