| Issue 743: | className | |
| 1 person starred this issue and may be notified of changes. | Back to list |
hi,
i want use className dinamicly, but not working.
this is my code:
<style type="text/css">
.vacation, .fc-agend a .vacation .fc-event-time, .vacation a
{
background-color: Maroon; /* background color */
border-color: Maroon; /* border color */
color: White; /* text color */
}
</style>
events: function (start, end, callback) {
$.ajax({
url: 'calendario.aspx/LoadData',
contentType: "application/json; charset=utf-8",
type: 'POST',
dataType: "json",
data: {},
error: function (xhr, type, exception) { alert("Error: " + exception); },
success: function (doc) {
var events = [];
var e = doc.d;
$.each(e, function(index, e) {
events.push({
title: e.title,
end: e.end,
start: e.start,
className: 'vacation'
});
});
callback(events);
}
});
},
Dec 3, 2010
Project Member
#1
althaus.it
Dec 26, 2010
you'll need to debug this on your own, using firebug, or as your last resort, ask on stackoverflow.
might be a problem with your misspelling of "fc-agenda" or maybe your colors shouldn't be capitalized ("white", "maroon", etc).
Status:
Done
|
|
| ► Sign in to add a comment |