user1404623
user1404623

Reputation:

How to add indian holiday list in arshaw's full calendar?

I am using Arshaw's Jquery Calendar I need to add the Indian holidays list. An example of US holiday list is given in the full calendar. I need to add the link in my script section of the web page as shown:

$(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();
                }
            }

        });

    });

I tried the following link for Indian Holidays in google calendar but its not working :

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

Upvotes: -1

Views: 2632

Answers (1)

JQuery Guru
JQuery Guru

Reputation: 6963

Have you set up your Google Calendar correctly (as per the instructions)? Try below link:

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

Upvotes: 1

Related Questions