| Issue 1697: | day of month - accendental overlay | |
| 1 person starred this issue and may be notified of changes. | Back to list |
the day of the month is overlaid with data as you progress down the page - this seems to vary according to the ui theme but make no bones about it: this bug happens no matter which theme you use here is a unlisted youtube of the bug http://youtu.be/Q0IbmvixYuU
Apr 30, 2013
#1
conrad.b...@gmail.com
Apr 30, 2013
I have looked into this and it isn't a fullcalendar bug it's the fact that I altered the css to have tc_day_number as vertical-align:super (I appended an "add") link which was necessary because you totally missed that out..
here is code
$('.fc-day-number').each(function() {
if ($(this).parent().parent().hasClass('fc-other-month')){
//ignore the grey coloured month ends
}
else{
var day = parseInt($(this).html());
var date = $("#calendar").fullCalendar('getDate');
var day_pad = ("0" + day).slice(-2);
var month_int = ("0" + (date.getMonth() + 1)).slice(-2)
var year_int = date.getFullYear();
$(this).html( day + '<a href="#" onClick="clickBox(\'' + year_int + '-' + month_int + '-' + day_pad + '\')" style="font-size: 80%; text-decoration: none; ">+</a>');
}
});
Aug 21, 2013
Thank you for reporting the bug and making the video. I am trying my best to clean up the issue tracker now. In newer versions, the `dayRender` and `viewRender` callbacks are available for doing this sort of stuff. They are guaranteed to fire before event rendering happens, so the event positions should be correct when all is said and done.
Status:
Done
|
|
| ► Sign in to add a comment |