last minute css changes (ie sucks)

v1.2.x
Adam Shaw 2009-05-11 04:31:03 +00:00
parent b0e089170d
commit 55b9ad3b70
3 changed files with 9 additions and 8 deletions

View File

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

View File

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

View File

@ -96,9 +96,6 @@
var titleElement, todayButton, monthElement, monthElementWidth;
var header = $("<div class='full-calendar-header'/>").appendTo(this);
if (options.title !== false)
titleElement = $("<h2 class='full-calendar-title'/>").appendTo(header);
if (bo) {
var buttons = $("<div class='full-calendar-buttons'/>").appendTo(header);
var prevButton, nextButton;
@ -123,9 +120,13 @@
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'/>")
.appendTo($("<div class='full-calendar-month-wrap'/>").appendTo(this));