如何使用切换事件创建日历 [英] How can I create a calendar with toggled events

查看:106
本文介绍了如何使用切换事件创建日历的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从RSS / XML Feed创建一个日历,允许用户切换显示哪种类型的事件,最好是在javascript中。



想法是有一个月视图日历,加载一系列不同类别的事件(例如足球,曲棍球,网球等),并有相应的勾选框显示或隐藏它们,即取消选中网球,事件是删除/隐藏;重新检查并且它们出现。



因此RSS / XML将具有日期开始,日期停止,标题,描述,类别(例如网球),图像和链接。 />


根据我可怕的链接示例,在日历中点击的任何日期都会显示一个小div中的事件列表:)



http://www.photodev.co.uk/events.png



有没有人知道的例子?



非常感谢任何帮助!

谢谢,

Rob

Hi, I'm looking to create a calendar from an RSS / XML feed that allows the user to toggle which type of events are shown, preferably in javascript.

The idea would be to have a month-view calendar that loads a series of events with different categories (e.g. football, hockey, tennis etc.) and have corresponding tick-boxes that show or hide them i.e. uncheck tennis and the events are removed / hidden; recheck and they appear.

So the RSS / XML would have date start, date stop, title, description, category (e.g. tennis), image and link.

Any days clicked on in the calendar would show a list of events in a small div to the side as per my terrible linked example :)

http://www.photodev.co.uk/events.png

Are there any examples of this anyone knows of?

Any help greatly appreciated!
Thanks,
Rob

推荐答案

这篇关于如何使用切换事件创建日历的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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