Autor | Zpráva | ||
---|---|---|---|
XANI Profil |
Dobry den. Robim si stranku a potreboval by som pomoct. Chcem do kalendara dorobit koniec hodiny vid priklad. 12:00-13:00. momentalne tam mam iba cas 12:00 a neviem si radi prikladam aj cast kodu tak ak by mi niekto pomohol bol by som rad
<script type='text/javascript'> jQuery(document).ready(function() { var date = new Date(); var d = date.getDate(); var m = date.getMonth(); var y = date.getFullYear(); jQuery('#calendar').fullCalendar({ header: { left: 'prev,next today', center: 'title', right: 'month,agendaWeek,agendaDay' }, editable: false, weekends: true, //timeFormat: 'h:mm{-h:mmtt }', timeFormat: { agenda: 'H:mm' //h:mm{ - h:mm}' }, //axisFormat: 'hh:mm', axisFormat: 'H:mm - H:mm', -------------- takto som to vyriesil ale je to blbo a ptrebujem to urobit poriadne. momentalne to je 12:00 - 12:00 <?php $AllCalendarSettings = unserialize(get_option('apcal_calendar_settings')); ?> firstDay: <?php if($AllCalendarSettings['calendar_start_day'] != '') echo $AllCalendarSettings['calendar_start_day']; else echo "1"; ?>, slotMinutes: <?php if($AllCalendarSettings['calendar_slot_time'] != '') echo $AllCalendarSettings['calendar_slot_time']; else echo "15"; ?>, defaultView: '<?php if($AllCalendarSettings['calendar_view'] != '') echo $AllCalendarSettings['calendar_view']; else echo "month"; ?>', minTime: <?php if($AllCalendarSettings['day_start_time'] != '') echo date("G", strtotime($AllCalendarSettings['day_start_time'])); else echo "8"; ?>, maxTime: <?php if($AllCalendarSettings['day_end_time'] != '') echo date("G", strtotime($AllCalendarSettings['day_end_time'])); else echo "20"; ?>, selectable: false, selectHelper: false, select: function(start, end, allDay) { jQuery('#AppFirstModal').show(); }, events: [ |
||
Časová prodleva: 11 let
|
0