updated changelog, added some docs, reset permissions, fixed small IE window resize bug
|
@ -1,4 +1,17 @@
|
|||
|
||||
version 1.4.2 (12/02/09)
|
||||
- eventAfterRender trigger
|
||||
- getDate & getView methods
|
||||
- height & contentHeight options (explicitly sets the pixel height)
|
||||
- minTime & maxTime options (restricts shown hours in agenda view)
|
||||
- getters [for all options] and setters [for height, contentHeight, and aspectRatio ONLY! stay tuned..]
|
||||
- render method now readjusts calendar's size
|
||||
- bugfixes
|
||||
- lightbox scripts that use iframes (like fancybox)
|
||||
- day-of-week classNames were off when firstDay=1
|
||||
- guaranteed space on right side of agenda events (even when stacked)
|
||||
- accepts ISO8601 dates with a space (instead of 'T')
|
||||
|
||||
version 1.4.1 (10/31/09)
|
||||
- can exclude weekends with new 'weekends' option
|
||||
- gcal feed 'currentTimezone' option
|
||||
|
|
|
@ -76,6 +76,14 @@ Basic Options
|
|||
The calendar's height, however, is determined by this ratio of width-to-height.
|
||||
(Hint: larger numbers make smaller heights).
|
||||
|
||||
**height**: Integer
|
||||
Will make the entire calendar (including header) a pixel height.
|
||||
You may change this after initialization with :ref:`Option Setters<option-getters-setters>`.
|
||||
|
||||
**contentHeight**: Integer
|
||||
Will make the calendar's content area a pixel height.
|
||||
You may change this after initialization with :ref:`Option Setters<option-getters-setters>`.
|
||||
|
||||
.. _allDayDefault:
|
||||
|
||||
**allDayDefault**: Boolean, *Default*: ``true``
|
||||
|
@ -128,7 +136,7 @@ Basic Options
|
|||
means 5am), a string like ``'5:30'`` (which means 5:30am) or a string like ``'5:30am'``.
|
||||
|
||||
**maxTime**: Integer/String, *Default*: ``24``
|
||||
In the agenda views, determines the last hour/time that will be displayed, even when
|
||||
In the agenda views, determines the last hour/time (exclusively) that will be displayed, even when
|
||||
the scrollbars have been scrolled all the way down. This can be a number like ``22`` (which
|
||||
means 10pm), a string like ``'22:30'`` (which means 10:30pm) or a string like ``'10:30pm'``.
|
||||
|
||||
|
|
|
@ -100,6 +100,8 @@ jQuery object:
|
|||
a calendar. Call this method whenever the calendar's tab is shown.
|
||||
|
||||
|
||||
.. _option-getters-setters:
|
||||
|
||||
Dynamically Getting/Setting Properties
|
||||
--------------------------------------
|
||||
|
||||
|
@ -114,4 +116,4 @@ You may dynamically *set* some of FullCalendar's options using the following for
|
|||
**HOWEVER**, setting only works for the three following options: **apsectRatio**, **contentHeight**, and **height**.
|
||||
|
||||
The next version of FullCalendar will have more advancements in this area.
|
||||
|
||||
|
||||
|
|
Before Width: | Height: | Size: 180 B After Width: | Height: | Size: 180 B |
Before Width: | Height: | Size: 213 B After Width: | Height: | Size: 213 B |
Before Width: | Height: | Size: 124 B After Width: | Height: | Size: 124 B |
Before Width: | Height: | Size: 123 B After Width: | Height: | Size: 123 B |
Before Width: | Height: | Size: 119 B After Width: | Height: | Size: 119 B |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 104 B After Width: | Height: | Size: 104 B |
Before Width: | Height: | Size: 88 B After Width: | Height: | Size: 88 B |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
|
@ -415,8 +415,10 @@ $.fn.fullCalendar = function(options) {
|
|||
return options[name];
|
||||
}
|
||||
if (name == 'height' || name == 'contentHeight' || name == 'aspectRatio') {
|
||||
options[name] = value;
|
||||
sizeChanged();
|
||||
if (!contentSizeFixed) {
|
||||
options[name] = value;
|
||||
sizeChanged();
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Before Width: | Height: | Size: 457 B After Width: | Height: | Size: 457 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 499 B After Width: | Height: | Size: 499 B |
Before Width: | Height: | Size: 524 B After Width: | Height: | Size: 524 B |
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 64 B After Width: | Height: | Size: 64 B |
Before Width: | Height: | Size: 300 B After Width: | Height: | Size: 300 B |
Before Width: | Height: | Size: 202 B After Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 516 B After Width: | Height: | Size: 516 B |
|
@ -29,6 +29,10 @@
|
|||
firstDay: 1,
|
||||
//weekends: false,
|
||||
|
||||
minTime: '8am',
|
||||
maxTime: '11:30pm',
|
||||
firstHour: 9,
|
||||
|
||||
monthNames: ["januari", "februari", "maart", "april", "mei", "juni","juli", "augustus", "september", "oktober", "november", "december"],
|
||||
monthNamesShort: ["jan", "feb", "maa", "apr", "mei", "jun", "jul", "aug","sep", "okt", "nov", "dec"],
|
||||
dayNames: ['zondag', 'maandag', 'dinsdag', 'woensdag','donderdag', 'vrijdag', 'zaterdag'],
|
||||
|
|
|
@ -25,13 +25,11 @@
|
|||
|
||||
//defaultView: 'basicDay',
|
||||
|
||||
//aspectRatio: 2,
|
||||
|
||||
//weekends: false,
|
||||
|
||||
//contentHeight: 500,
|
||||
height: 700,
|
||||
|
||||
//contentHeight: 500,
|
||||
//aspectRatio: 2,
|
||||
|
||||
header: {
|
||||
left: 'title',
|
||||
|
|
|
@ -36,6 +36,8 @@
|
|||
//console.log(this);
|
||||
},
|
||||
|
||||
minTime: '5',
|
||||
maxTime: '21:30',
|
||||
dayClick: function(dayDate, allDay, ev, view) {
|
||||
alert(dayDate);
|
||||
//console.log('dayClick - ' + dayDate + ', allDay:' + allDay + ' - ' + view.title);
|
||||
|
@ -57,8 +59,8 @@
|
|||
},
|
||||
|
||||
eventAfterRender: function(event, element, view) {
|
||||
console.log('after render for "' + event.title + '":');
|
||||
console.log(element);
|
||||
//console.log('after render for "' + event.title + '":');
|
||||
//console.log(element);
|
||||
},
|
||||
|
||||
eventClick: function(event, jsEvent, view) {
|
||||
|
@ -68,6 +70,7 @@
|
|||
//console.log(this);
|
||||
//return false;
|
||||
},
|
||||
|
||||
/*
|
||||
eventMouseover: function(event, jsEvent, view) {
|
||||
console.log('MOUSEOVER ' + event.title);
|
||||
|
|