In this google calendar, when you click on a date which has an event, it will popup the event details.
http://examples.tripod.com/calendar.html
This is what I need (though its size is much larger than I need), but after searching on google, I realize there is a big limitation with google calendar. There is no easy way to customize its style using css because embedded google calendar is provided inside an iframe. There are solutions such as RESTYLEgc , but I don’t really want to go for it.
Now I am looking for an open-source javascript calendar that supports built-in event detail popup. It can be an extremely simple one, as long as it allows year/month navigation and it can highlight the date that has an event on it, and of course the built-in event pop up feature.
It will be great if it’s built on jQuery since I already have the jQuery library included on the website.
I have only very few important events to set on the calendar, I expect I will be using codes like these:
var event1Html='<div class="event-details">Some event details here</div>';
calendar.setEvent('2012-1-25',event1Html);
var event2Html='<div class="event-details">Some other event details here</div>';
calendar.setEvent('2012-1-31',event2Html);
Is there such a javascript calendar that you know of?
I would look in to the fullcalendar script. From the looks of it, it can bring in google calendars, but also has an
eventClickevent that you can bind to and use (possibly) jQuery-UI to show a dialog of further information.For a demo, do the following:
fullcalendar-1.5.2\fullcalendar-1.5.2\fullcalendarfolder to your desktop.Now click on an event. Unpolished, yes, but shows a pretty simple way of achieving what you’re going for.