| Issue 119: | Force to display specific day | |
| 1 person starred this issue and may be notified of changes. | Back to list |
I am attempting to force the basicDay calendar view to display a day of my
choosing (oct 9th, 2009):
$(document).ready(function() {
var d = 9;
var y = 2009;
var m = 9; \\jan = 0
$(\'#calendar\').fullCalendar({
editable: false,
defaultView: \'basicDay\',
});
});
This always displays the current day (today).
I thought perhaps I need to use the 'gotoDate' method but there are no
examples I can find that use it. A nudge in the right direction is
appreciated.
Oct 11, 2009
#1
gle...@gmail.com
Oct 11, 2009
I assume you are talking about this:
year, month, date: Integers
The initial year/month/date when the calendar loads. month is 0-based, meaning
January=0, February=1, etc. If ommitted, the calendar starts on the current date.
So what would I use, something like?
year: 2009,
month: 9,
day: 9,
If so, where exactly does it go?
Oct 11, 2009
Got it working, thanks for the nudge.
$(document).ready(function() {
var d = 9;
var y = 2009;
var m = 9; \\jan = 0
$(\'#calendar\').fullCalendar({
year: y,
month: m,
date: d,
editable: false,
defaultView: \'basicDay\',
});
});
Oct 13, 2009
(No comment was entered for this change.)
Status:
Done
|
|
| ► Sign in to add a comment |