2013-04-08 58 views
0

我正在使用Arshaw's Jquery Calendar我需要添加印度假期列表。美國假期清單的例子在full calendar中給出。我需要添加的網頁我的腳本部分中的鏈接,如圖所示:如何在arshaw的完整日曆中添加印度度假列表?

$(document).ready(function() { 

     $('#calendar').fullCalendar({ 

      // US Holidays - I need Indian Holidays instead of this 
      events: 'http://www.google.com/calendar/feeds/usa__en%40holiday.calendar.google.com/public/basic', 

      eventClick: function(event) { 
       // opens events in a popup window 
       window.open(event.url, 'gcalevent', 'width=700,height=600'); 
       return false; 
      }, 

      loading: function(bool) { 
       if (bool) { 
        $('#loading').show(); 
       }else{ 
        $('#loading').hide(); 
       } 
      } 

     }); 

    }); 

我嘗試以下鏈接印度假期在谷歌日曆,但它不工作:

events: 'https://www.google.com/calendar/embed?src=en.indian%[email protected]&ctz=America/Denver' 
+1

是否使用所需gcal.js腳本?如果是的話,你是否能夠讓美國假期日曆起作用? – codybuell 2013-05-15 16:48:00

回答

1

你有沒有設置正確安裝Google日曆(根據instructions)?嘗試以下鏈接:

http://www.google.com/calendar/feeds/indian__en%40holiday.calendar.google.com/public/basic

相關問題