创建Javascript日历(完整,不弹出) [英] Creating A Javascript Calendar (Full, not pop up)

查看:143
本文介绍了创建Javascript日历(完整,不弹出)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在创建JavaScript约会风格日历时遇到了一些困难。虽然它提供,我知道有成为一个更有效的方式做。有没有人有一个模式,他们用于创建日历?我将使用jQuery,但我不想使用某人的日历插件作为a)我没有找到一个工作,我需要和b)我永远不会得到任何更好的使用某人elses工作。

I'm having some difficulties creating a javascript appointment style calendar. While it does render, I know there's go to be a much more efficient way of doing it. Does anyone have a pattern they use for creating calendars? I will be using jQuery, but I don't want to use someone's calendar plugin as a) I haven't found one that works for what I need and b) I'm never going to get any better by using someone elses work.

现在,请记住我的问题不是关于加载数据或者重复出现或类似的情况。

Now, keep in mind my question is not about loading data in or getting repeat occurances or anything like that. I'm basically needing to know a good pattern on actually rendering the calendar markup.

推荐答案

我刚刚发布了一个新的OS项目FullCalendar( http://arshaw.com/fullcalendar/

Ive just published a new OS project called FullCalendar (http://arshaw.com/fullcalendar/)

声音像你可能想要的。传递一个事件/约会数组,它会渲染。该插件只提供基本要素,但您可以使用事件挂钩来扩展它。

Sounds like what you might want. Pass it an array of events/appointments and it will render. The plugin only provides the essentials, but you can use event hooks to extend it.

这篇关于创建Javascript日历(完整,不弹出)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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