I\'m using Ruby 2 Rails 4. I\'m using the twitter-bootstrap-rails gem to get my navbar to collapse on browser resize.
I want a similar effect with Adam Shaw\'s Full
It looks like you are trying to change the view based on resize. Take a look at the windowResize callback. http://arshaw.com/fullcalendar/docs/display/windowResize/.
Make sure handleWindowResize is it's default value, true. Or the callback won't be invoked.
windowResize: function(view) {
if ($(window).width() < 514){
$('#calendar').fullCalendar( 'changeView', 'basicDay' );
} else {
$('#calendar').fullCalendar( 'changeView', 'month' );
}
}