3

I'm working on a website where I would like to embed Google Calendar. I would like to be able to add a small icon next to certain events. I can use the "categories" section of Google Calendar to add a highlight color to the events, but in addition to that, I'd like to specify that some events have food by putting a small fork-and-knife icon next to them.

The only material I could find online about something like this is Google's Event Flair Lab, which not only didn't work for me, but from research appears to have been abandoned. Perhaps there is a way to program this myself?

I'm open to suggestions about other free calendar systems that make this possible other than Google Calendar. Please let me know if you need any other information - this seems like a fairly simple project, but I can't find any information on how to accomplish it.

4

3 回答 3

1

看起来谷歌日历在这里支持这样的东西: https ://developers.google.com/google-apps/calendar/gadgets/event/ 。

但是,如果您对其他小部件持开放态度,那么 Fullcalendar(http://arshaw.com/fullcalendar/)非常健壮且可以快速实施。有一些线程准确地记录了您在使用 Fullcalendar、如何将图像添加到特定事件、jquery full calendar之后所使用的功能类型。

我会考虑使用 Fullcalendar 和 icon-font 来满足您的特定需求。通过搜索“fork”,您会在http://icomoon.io/app/找到一个不错的共享软件叉和刀字形。这是有利的,因此您可以切换视图(月、周、日)并优化控制图标大小和颜色等。

于 2013-09-06T15:21:04.960 回答
0

首先进入设置,然后选择“实验室”。向下滚动直到您看到图标并选择启用。然后保存,您将看到图标:) 为了关闭图标,执行与上述相同的操作,然后选择禁用。现在你知道如何获得图标了!;)

于 2013-11-14T14:33:59.073 回答
0

我能够使用此处的指南使活动天赋发挥作用Event Flairs看起来谷歌在实验室中仍然有这个,它可能会满足您的需求

于 2013-09-05T10:08:57.933 回答