반응형
FullCalendar 헤더 버튼이 없습니다.
나는 fullCalendar 를 아래와 같이 사용 하고 있으며 헤더 섹션을 정의했으며 제목 만 표시하지만 다음, 이전, 월별보기 등 버튼이없는 헤더를 제외한 모든 것이 정상적으로 작동합니다.
'제목'이라는 단어를 제거하면 제목이 제거되어 뭔가를하는 것처럼 보이지만 버튼이 표시되지 않는 이유는 무엇입니까? 내가 뭔가를 놓치고 있습니까? 내 코드는 다음과 같습니다.
jQuery('#calendar').fullCalendar({
header: {
left: 'prev,next today',
center: 'title',
right: 'month,agendaWeek,agendaDay'
},
eventSources:
[{
url: url,
color: '#ffdce5',
textColor: 'black'
}]
})
방금 동일한 문제가 발생한 것으로 의심되는 media="print"
것은 fullcalendar.print.css
스타일 시트 링크 의 속성 이 누락되었다는 것 입니다.
Zend Framework를 사용하여 스타일 시트를 추가하는 경우이를 사용하여 media = "print"...를 추가 할 수 있습니다.
$this->view->headLink()->appendStylesheet('/styles/jquery-plugins/fullcalendar.print.css', 'print');
참고 URL : https://stackoverflow.com/questions/25681573/fullcalendar-header-buttons-missing
반응형
'Nice programing' 카테고리의 다른 글
[NSMutableArray array]와 [[NSMutableArray alloc] init]의 차이점 (0) | 2020.12.25 |
---|---|
Ruby에서 메모리 누수의 원인 찾기 (0) | 2020.12.25 |
Java에서 IPv4 주소 유효성 검사 (0) | 2020.12.13 |
iOS 7에서 UITextView 링크 감지 (0) | 2020.12.13 |
프로젝트에서 유효한 GoogleService-Info.plist를 찾을 수 없습니다. (0) | 2020.12.13 |