4

Im new to Javascript stuff especially on JSON and Jquery. I have successfully implement the monthly view of FullCalendar but is there anyway to show or pop up the dayview based on the date when user clicked on monthly view? Any help would be much appreciated

scholarwithfire
  • 345
  • 2
  • 8
  • 21

1 Answers1

16

I am guessing you want to switch to the day view when a user clicks on any day in the month view. If so, you can achieve this by using dayClick and changeView callbacks of FullCalendar.

Check this fiddle for a demo: http://jsfiddle.net/100thGear/krJcL/

Let me know if this helps!

ganeshk
  • 5,583
  • 3
  • 27
  • 31
  • 3
    this should be marked as the correct answer, still applicable. – artis3n Feb 16 '16 at 22:41
  • 4
    just one thing, looks like the dayClick event changed slightly since then: http://fullcalendar.io/docs/mouse/dayClick/ - dayClick: function(date, jsEvent, view) { –  Apr 25 '16 at 17:38