%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/11584/cwd/html/ppaobm/vendor/bower-asset/fullcalendar/demos/ |
Upload File : |
<!DOCTYPE html> <html> <head> <meta charset='utf-8' /> <link href='../dist/core/main.css' rel='stylesheet' /> <link href='../dist/daygrid/main.css' rel='stylesheet' /> <link href='../dist/timegrid/main.css' rel='stylesheet' /> <link href='../dist/list/main.css' rel='stylesheet' /> <script src='../dist/core/main.js'></script> <script src='../dist/interaction/main.js'></script> <script src='../dist/daygrid/main.js'></script> <script src='../dist/timegrid/main.js'></script> <script src='../dist/list/main.js'></script> <script src='https://code.jquery.com/jquery-3.3.1.min.js'></script> <script> // The jQuery Connector // ---------------------------------------------------------------------------------------------------- $.fn.fullCalendar = function(options) { var args = Array.prototype.slice.call(arguments, 1) // for a possible method call var res = this // what this function will return (the current jQuery object by default) this.each(function(i, el) { // loop each DOM element involved var $el = $(el) var calendar = $el.data('fullCalendar') // get the existing calendar object (if any) var singleRes // the returned value of this single method call // a method call if (typeof options === 'string') { if (options === 'getCalendar') { if (!i) { // first element only res = calendar } } else if (options === 'destroy') { // don't warn if no calendar object if (calendar) { calendar.destroy() $el.removeData('fullCalendar') } } else if (!calendar) { console.warn('Attempting to call a FullCalendar method on an element with no calendar.') } else if ($.isFunction(calendar[options])) { singleRes = calendar[options].apply(calendar, args) if (!i) { res = singleRes // record the first method call result } } else { console.warn("'" + options + "' is an unknown FullCalendar method.") } // an initialization } else { if (calendar) { console.warn('Can\'t initialize another calendar on the same element.') } else { calendar = new FullCalendar.Calendar(el, options) $el.data('fullCalendar', calendar) calendar.render() } } }) return res } // The Actual Example // ---------------------------------------------------------------------------------------------------- $(document).ready(function() { var $calendar = $('#calendar') $calendar.fullCalendar({ plugins: [ 'dayGrid', 'timeGrid', 'list', 'interaction' ], header: { left: 'prev,next today', center: 'title', right: 'dayGridMonth,timeGridWeek,timeGridDay,listWeek' }, defaultDate: '2019-04-12', navLinks: true, // can click day/week names to navigate views editable: true, eventLimit: true, // allow "more" link when too many events events: [ { title: 'All Day Event', start: '2019-04-01', }, { title: 'Long Event', start: '2019-04-07', end: '2019-04-10' }, { groupId: 999, title: 'Repeating Event', start: '2019-04-09T16:00:00' }, { groupId: 999, title: 'Repeating Event', start: '2019-04-16T16:00:00' }, { title: 'Conference', start: '2019-04-11', end: '2019-04-13' }, { title: 'Meeting', start: '2019-04-12T10:30:00', end: '2019-04-12T12:30:00' }, { title: 'Lunch', start: '2019-04-12T12:00:00' }, { title: 'Meeting', start: '2019-04-12T14:30:00' }, { title: 'Happy Hour', start: '2019-04-12T17:30:00' }, { title: 'Dinner', start: '2019-04-12T20:00:00' }, { title: 'Birthday Party', start: '2019-04-13T07:00:00' }, { title: 'Click for Google', url: 'http://google.com/', start: '2019-04-28' } ] }) $('#prev-button').on('click', function() { $calendar.fullCalendar('prev') }) $('#next-button').on('click', function() { $calendar.fullCalendar('next') }) $('#gotoDate-button').on('click', function() { $calendar.fullCalendar('gotoDate', '2019-04-01') }) }) </script> <style> body { margin: 40px 10px; padding: 0; font-family: Arial, Helvetica Neue, Helvetica, sans-serif; font-size: 14px; } #calendar { max-width: 900px; margin: 0 auto; } </style> </head> <body> <button id='prev-button'>prev</button> <button id='next-button'>next</button> <button id='gotoDate-button'>goto year 2000</button> <div id='calendar'></div> </body> </html>