fullcalendar

Fullcalendar font-size of events

限于喜欢 提交于 2020-02-04 13:54:18
问题 When I change the font-size in the css like this: .fc-event { font-size: .85em;} The font-size looks perfect. But when I change the font-size with jquery it does not work. if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) { $('#calendar').fullCalendar('changeView', 'agendaDay'); //=> OK $(".fc table ").css("font-size", "1.40em"); //=> OK $('.fc-event').css('font-size', '1.85em !important'); //=> NOT OK $('#calendar').fullCalendar('option',

FullCalendar modal on event click not displaying correctly

我怕爱的太早我们不能终老 提交于 2020-02-03 13:20:09
问题 I'm trying to make a delete/remove popup on fullcalendar when I click the existing event. Using JQueryUI's dialog, something is partially displayed. (note. my events are all external events which have been dropped from side menu) The following two methods are the closest I got to displaying something. Method 1 with dialog in eventRender $('#calendar').fullCalendar({ …. eventRender: function (event, element){ $("#eventContent").dialog({ modal: true, title: event.title, width:350}); }); …. });

Full calendar fit to container and hide scroll

ε祈祈猫儿з 提交于 2020-02-03 05:04:53
问题 I cannot figure out how to scale fullcalendar to fit to it's parent container. I want to display week view on a single page for users without need to scroll (So they quickly review items for a week). I'm ok if I need to make text small, slots height smaller, etc, but I just not sure how to do this dynamically based on the size of the browser window. (In my calendar I'm using slotMinutes:10 and times from 8am to 10pm ) jsfiddle with fullcalendar: http://jsfiddle.net/bQXYp/27/ 回答1: There are

FullCalendar: show reversed list views

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-29 23:21:22
问题 How can I reverse the events in the list views, so that the event with the most futuristic date appears at the beginning (top)? 回答1: @F.Mora your solution is almost perfect but in our case we add some custom classNames and have multiple items under each headline. Here is our enhanced version : eventAfterAllRender: function(view) { var renderedEvents = $('.fc-list-table tr'); var reorderedEvents = []; var blockEvents = null; renderedEvents.map(function(key, event) { if ($(event).hasClass('fc

FullCalendar: show reversed list views

时光总嘲笑我的痴心妄想 提交于 2020-01-29 23:19:31
问题 How can I reverse the events in the list views, so that the event with the most futuristic date appears at the beginning (top)? 回答1: @F.Mora your solution is almost perfect but in our case we add some custom classNames and have multiple items under each headline. Here is our enhanced version : eventAfterAllRender: function(view) { var renderedEvents = $('.fc-list-table tr'); var reorderedEvents = []; var blockEvents = null; renderedEvents.map(function(key, event) { if ($(event).hasClass('fc

FullCalendar: show reversed list views

落花浮王杯 提交于 2020-01-29 23:19:07
问题 How can I reverse the events in the list views, so that the event with the most futuristic date appears at the beginning (top)? 回答1: @F.Mora your solution is almost perfect but in our case we add some custom classNames and have multiple items under each headline. Here is our enhanced version : eventAfterAllRender: function(view) { var renderedEvents = $('.fc-list-table tr'); var reorderedEvents = []; var blockEvents = null; renderedEvents.map(function(key, event) { if ($(event).hasClass('fc

Fullcalendar JQuery plugin not appearing MVC 4

六月ゝ 毕业季﹏ 提交于 2020-01-25 20:42:09
问题 I followed this tutorial to make the fullcalendar in my project: http://studyoverflow.com/asp-mvc/event-calendar-using-jquery-fullcalendar-in-asp-net-mvc/ The only difference is that i already have a project and i added the Events db to my context. This is my view: <div id="fullcalendar"></div> @section Scripts { @Scripts.Render("~/bundles/jqueryval") <script type="text/javascript"> $(function () { $('#fullcalendar').fullCalendar({ header: { left: 'prev,next today', center: 'title', right:

Fullcalendar JQuery plugin not appearing MVC 4

此生再无相见时 提交于 2020-01-25 20:42:05
问题 I followed this tutorial to make the fullcalendar in my project: http://studyoverflow.com/asp-mvc/event-calendar-using-jquery-fullcalendar-in-asp-net-mvc/ The only difference is that i already have a project and i added the Events db to my context. This is my view: <div id="fullcalendar"></div> @section Scripts { @Scripts.Render("~/bundles/jqueryval") <script type="text/javascript"> $(function () { $('#fullcalendar').fullCalendar({ header: { left: 'prev,next today', center: 'title', right:

fullCalendar event resizing is not working when time is added in start and end date

微笑、不失礼 提交于 2020-01-25 09:40:11
问题 Whenever I put the time in start and end, the event won't resize. But when the time is in 00:00:00 I can now resize it. Then it works when the time is 00:00:00. My full code: $(document).ready(function() { $('#calendar').fullCalendar({ header: { left: 'today add_event', center: 'prev title next', right: 'month,basicWeek,basicDay' }, eventOrder: 'start', editable: true, eventLimit: true, selectable: true, selectHelper: true, select: function(start, end) { $('#ModalAdd #start').val(moment(start

fullcalendar dynamically change default view based on screen width

こ雲淡風輕ζ 提交于 2020-01-25 06:53:28
问题 I'm using fullcalendar and the below code works for me to render fullcalendar while also using turbolinks. function eventCalendar() { return $('#event_calendar').fullCalendar({ defaultView: 'agendaWeek', header: { left: 'prev,today,next', center: 'title', right: 'agendaDay,agendaWeek' }, }); }; function clearCalendar() { $('#event_calendar').fullCalendar('delete'); // In case delete doesn't work. $('#event_calendar').html(''); }; $(document).on('turbolinks:load', eventCalendar); $(document)