first round of commits for 1.4, agenda view

This commit is contained in:
Adam Shaw
2009-11-22 16:21:13 -08:00
parent 1cb53661fd
commit 8e0312a750
7 changed files with 921 additions and 931 deletions
+11 -3
View File
@@ -1,6 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<link rel='stylesheet' type='text/css' href='../examples/redmond/theme.css' />
<script type='text/javascript' src='loader.js'></script>
<script type='text/javascript'>
@@ -11,11 +12,15 @@
var m = d.getMonth();
$('#calendar').fullCalendar({
//weekMode: 'variable',
theme: true,
//isRTL: true,
editable: true,
defaultView: 'agendaWeek',
header: {
left: 'prev,next today',
center: 'title',
right: 'month,basicWeek,basicDay'
right: 'month,agendaWeek,agendaDay'
},
events: [
{
@@ -51,7 +56,10 @@
url: "http://facebook.com/",
allDay: false
}
]
],
dayClick: function(date, allDay) {
alert(date + ' allDay:' + allDay);
}
});
});
@@ -67,7 +75,7 @@
}
#calendar {
width: 900px;
width: 80%;
margin: 0 auto;
}