2013-02-22 1901 views
0

我需要像FullCalendar這樣的日曆,但全年視圖。這個想法是每個用戶都可以使用這個日曆選擇自己的假期,並將所有的日子存儲在一個數據庫中。年視圖日曆

有人知道任何圖書館或東西嗎?

+0

請參考以下鏈接http://stackoverflow.com/questions/8087537/what-are-some-free-web-based-open-source-calendar-solutions – snowp 2013-02-22 11:34:31

+0

沒有一個被引用的全年可選擇的視圖.. – 2013-02-22 11:44:08

+0

可能是這一個幫助你http://stackoverflow.com/questions/10949486/year-view-in-fullcalendar-jquery-plugin http://code.google .com/p/fullcalendar/issues/detail?id = 871 http://stackoverflow.com/questions/7362188/expand-adam-shaws-full-calendar-to-show-years-and-months – snowp 2013-02-22 11:56:55

回答

0

是的。你可以用jquery Ui datepicker輕鬆完成。

檢查此鏈接:

http://jqueryui.com/datepicker/

這將幫助你。

+0

我想在全年視圖中顯示日曆並與之交互,日期選擇器沒有此選項 – 2013-02-22 15:27:35

+0

您的意思是您想要同時顯示所有月份。 – 2013-02-23 09:11:57

+0

是的,並通過它進行選擇 – 2013-02-25 09:27:48

0

這是您的評論的後續答案。您可以使用此代碼選擇完整的calander。 這是一次顯示多個月的jqueryUI datepicker代碼。

$("#datepicker").datepicker({ 
      numberOfMonths: 12, 
      showButtonPanel: true 
     }); 

這會爲你做。

2

這是你問題的解決方案。這可能對你有幫助 http://www.eyecon.ro/datepicker/#about

('#date3').DatePicker({ 
    flat: true, 
    date: ['2008-07-28','2008-07-31'], 
    current: '2008-07-31', 
    calendars: 3, 
    mode: 'range', 
    starts: 1 
});