last minute css changes (ie sucks)

This commit is contained in:
Adam Shaw 2009-05-11 04:31:03 +00:00
parent 5a21b55969
commit b5e2a24619
3 changed files with 9 additions and 8 deletions

View file

@ -60,7 +60,8 @@
end: new Date(y, m, 29), end: new Date(y, m, 29),
url: "http://facebook.com/" url: "http://facebook.com/"
} }
] ],
rightToLeft: false
}); });
}); });

View file

@ -1,9 +1,8 @@
/* top area w/ month title and buttons */ /* top area w/ month title and buttons */
.full-calendar-title { .full-calendar-title {
float: left; text-align: left;
margin: 0 0 1em;
} }
.full-calendar-buttons { .full-calendar-buttons {
@ -142,7 +141,7 @@
/* right-to-left support */ /* right-to-left support */
.r2l .full-calendar-title { .r2l .full-calendar-title {
float: right; text-align: right;
} }
.r2l .full-calendar-buttons { .r2l .full-calendar-buttons {

View file

@ -96,9 +96,6 @@
var titleElement, todayButton, monthElement, monthElementWidth; var titleElement, todayButton, monthElement, monthElementWidth;
var header = $("<div class='full-calendar-header'/>").appendTo(this); var header = $("<div class='full-calendar-header'/>").appendTo(this);
if (options.title !== false)
titleElement = $("<h2 class='full-calendar-title'/>").appendTo(header);
if (bo) { if (bo) {
var buttons = $("<div class='full-calendar-buttons'/>").appendTo(header); var buttons = $("<div class='full-calendar-buttons'/>").appendTo(header);
var prevButton, nextButton; var prevButton, nextButton;
@ -123,9 +120,13 @@
else buttons.append(nextButton); else buttons.append(nextButton);
} }
} }
if (options.title !== false)
titleElement = $("<h2 class='full-calendar-title'/>").appendTo(header);
monthElement = $("<div class='full-calendar-month' style='position:relative'/>") monthElement = $("<div class='full-calendar-month' style='position:relative'/>")
.appendTo($("<div class='full-calendar-month-wrap'/>").appendTo(this)); .appendTo($("<div class='full-calendar-month-wrap'/>").appendTo(this));