Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/88.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 如何在arshaw'中添加印度节日列表;什么是完整的日历?_Javascript_Jquery_Google Calendar Api - Fatal编程技术网

Javascript 如何在arshaw'中添加印度节日列表;什么是完整的日历?

Javascript 如何在arshaw'中添加印度节日列表;什么是完整的日历?,javascript,jquery,google-calendar-api,Javascript,Jquery,Google Calendar Api,我正在使用我需要添加印度假期列表。中给出了美国假日列表的一个示例。我需要在网页的“我的脚本”部分添加链接,如图所示: $(document).ready(function() { $('#calendar').fullCalendar({ // US Holidays - I need Indian Holidays instead of this events: 'http://www.google.com/calendar/

我正在使用我需要添加印度假期列表。中给出了美国假日列表的一个示例。我需要在网页的“我的脚本”部分添加链接,如图所示:

$(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%23holiday@group.v.calendar.google.com&ctz=America/Denver'

您是否已正确设置您的谷歌日历(按照)?请尝试以下链接:


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

您是否使用所需的gcal.js脚本?如果是这样的话,你能让美国假日日历正常工作吗?