using innerheight property.

This commit is contained in:
naomiaro 2011-01-31 02:09:25 -05:00
parent 97be2562b5
commit 275e31cb77

View file

@ -258,7 +258,9 @@ $(document).ready(function() {
$(window).load(function(){
var mainHeight = this.screen.height - 275 - 140 - 50;
//var mainHeight = this.screen.height - 275 - 140 - 50;
alert(this.innerHeight);
var mainHeight = this.innerHeight - 200 - 50;
$('#schedule_calendar').fullCalendar('option', 'contentHeight', mainHeight);
});