use eventLimit option in demos

This commit is contained in:
Adam Shaw
2014-08-02 16:27:56 -07:00
parent fd22394480
commit 7f67d2222f
9 changed files with 99 additions and 0 deletions
+14
View File
@@ -19,6 +19,7 @@
},
defaultDate: '2014-08-12',
editable: true,
eventLimit: true, // allow "more" link when too many events
events: [
{
title: 'All Day Event',
@@ -39,6 +40,11 @@
title: 'Repeating Event',
start: '2014-08-16T16:00:00'
},
{
title: 'Conference',
start: '2014-08-11',
end: '2014-08-13'
},
{
title: 'Meeting',
start: '2014-08-12T10:30:00',
@@ -48,6 +54,14 @@
title: 'Lunch',
start: '2014-08-12T12:00:00'
},
{
title: 'Meeting',
start: '2014-08-12T14:30:00'
},
{
title: 'Happy Hour',
start: '2014-08-12T17:30:00'
},
{
title: 'Birthday Party',
start: '2014-08-13T07:00:00'
+14
View File
@@ -19,6 +19,7 @@
},
defaultDate: '2014-08-12',
editable: true,
eventLimit: true, // allow "more" link when too many events
events: [
{
title: 'All Day Event',
@@ -39,6 +40,11 @@
title: 'Repeating Event',
start: '2014-08-16T16:00:00'
},
{
title: 'Conference',
start: '2014-08-11',
end: '2014-08-13'
},
{
title: 'Meeting',
start: '2014-08-12T10:30:00',
@@ -48,6 +54,14 @@
title: 'Lunch',
start: '2014-08-12T12:00:00'
},
{
title: 'Meeting',
start: '2014-08-12T14:30:00'
},
{
title: 'Happy Hour',
start: '2014-08-12T17:30:00'
},
{
title: 'Birthday Party',
start: '2014-08-13T07:00:00'
+14
View File
@@ -14,6 +14,7 @@
$('#calendar').fullCalendar({
defaultDate: '2014-08-12',
editable: true,
eventLimit: true, // allow "more" link when too many events
events: [
{
title: 'All Day Event',
@@ -34,6 +35,11 @@
title: 'Repeating Event',
start: '2014-08-16T16:00:00'
},
{
title: 'Conference',
start: '2014-08-11',
end: '2014-08-13'
},
{
title: 'Meeting',
start: '2014-08-12T10:30:00',
@@ -43,6 +49,14 @@
title: 'Lunch',
start: '2014-08-12T12:00:00'
},
{
title: 'Meeting',
start: '2014-08-12T14:30:00'
},
{
title: 'Happy Hour',
start: '2014-08-12T17:30:00'
},
{
title: 'Birthday Party',
start: '2014-08-13T07:00:00'
+1
View File
@@ -19,6 +19,7 @@
},
defaultDate: '2014-08-12',
editable: true,
eventLimit: true, // allow "more" link when too many events
events: {
url: 'php/get-events.php',
error: function() {
+13
View File
@@ -18,6 +18,11 @@
"title": "Repeating Event",
"start": "2014-08-16T16:00:00-05:00"
},
{
"title": "Conference",
"start": "2014-08-11",
"end": "2014-08-13"
},
{
"title": "Meeting",
"start": "2014-08-12T10:30:00-05:00",
@@ -27,6 +32,14 @@
"title": "Lunch",
"start": "2014-08-12T12:00:00-05:00"
},
{
"title": "Meeting",
"start": "2014-08-12T14:30:00-05:00"
},
{
"title": "Happy Hour",
"start": "2014-08-12T17:30:00-05:00"
},
{
"title": "Birthday Party",
"start": "2014-08-13T07:00:00-05:00"
+14
View File
@@ -45,6 +45,7 @@
buttonIcons: false, // show the prev/next text
weekNumbers: true,
editable: true,
eventLimit: true, // allow "more" link when too many events
events: [
{
title: 'All Day Event',
@@ -65,6 +66,11 @@
title: 'Repeating Event',
start: '2014-08-16T16:00:00'
},
{
title: 'Conference',
start: '2014-08-11',
end: '2014-08-13'
},
{
title: 'Meeting',
start: '2014-08-12T10:30:00',
@@ -74,6 +80,14 @@
title: 'Lunch',
start: '2014-08-12T12:00:00'
},
{
title: 'Meeting',
start: '2014-08-12T14:30:00'
},
{
title: 'Happy Hour',
start: '2014-08-12T17:30:00'
},
{
title: 'Birthday Party',
start: '2014-08-13T07:00:00'
+14
View File
@@ -34,6 +34,7 @@
$('#calendar').fullCalendar('unselect');
},
editable: true,
eventLimit: true, // allow "more" link when too many events
events: [
{
title: 'All Day Event',
@@ -54,6 +55,11 @@
title: 'Repeating Event',
start: '2014-08-16T16:00:00'
},
{
title: 'Conference',
start: '2014-08-11',
end: '2014-08-13'
},
{
title: 'Meeting',
start: '2014-08-12T10:30:00',
@@ -63,6 +69,14 @@
title: 'Lunch',
start: '2014-08-12T12:00:00'
},
{
title: 'Meeting',
start: '2014-08-12T14:30:00'
},
{
title: 'Happy Hour',
start: '2014-08-12T17:30:00'
},
{
title: 'Birthday Party',
start: '2014-08-13T07:00:00'
+14
View File
@@ -21,6 +21,7 @@
},
defaultDate: '2014-08-12',
editable: true,
eventLimit: true, // allow "more" link when too many events
events: [
{
title: 'All Day Event',
@@ -41,6 +42,11 @@
title: 'Repeating Event',
start: '2014-08-16T16:00:00'
},
{
title: 'Conference',
start: '2014-08-11',
end: '2014-08-13'
},
{
title: 'Meeting',
start: '2014-08-12T10:30:00',
@@ -50,6 +56,14 @@
title: 'Lunch',
start: '2014-08-12T12:00:00'
},
{
title: 'Meeting',
start: '2014-08-12T14:30:00'
},
{
title: 'Happy Hour',
start: '2014-08-12T17:30:00'
},
{
title: 'Birthday Party',
start: '2014-08-13T07:00:00'
+1
View File
@@ -40,6 +40,7 @@
defaultDate: '2014-08-12',
timezone: currentTimezone,
editable: true,
eventLimit: true, // allow "more" link when too many events
events: {
url: 'php/get-events.php',
error: function() {