1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 <title>Fullcalendar pour SPIP
</title>
5 <link rel='stylesheet' type='text/css' href='css/cupertino/theme.css'
/>
6 <link rel='stylesheet' type='text/css' href='css/fullcalendar.css'
/>
7 <link rel='stylesheet' type='text/css' href='css/fullcalendar.print.css' media='print'
/>
8 <script type='text/javascript' src='../../prive/javascript/jquery.js'
></script>
9 <script type='text/javascript' src='js/fullcalendar.js'
></script>
10 <script type='text/javascript'
>
12 $(document).ready(function() {
14 var date = new Date();
15 var d = date.getDate();
16 var m = date.getMonth();
17 var y = date.getFullYear();
19 $('#calendar').fullCalendar({
22 left: 'prev,next today',
24 right: 'month,agendaWeek,agendaDay'
29 title: 'All Day Event',
30 start: new Date(y, m,
1)
34 start: new Date(y, m, d-
5),
35 end: new Date(y, m, d-
2)
39 title: 'Repeating Event',
40 start: new Date(y, m, d-
3,
16,
0),
45 title: 'Repeating Event',
46 start: new Date(y, m, d+
4,
16,
0),
51 start: new Date(y, m, d,
10,
30),
56 start: new Date(y, m, d,
12,
0),
57 end: new Date(y, m, d,
14,
0),
61 title: 'Birthday Party',
62 start: new Date(y, m, d+
1,
19,
0),
63 end: new Date(y, m, d+
1,
22,
30),
67 title: 'Click for Google',
68 start: new Date(y, m,
28),
69 end: new Date(y, m,
29),
70 url: 'http://google.com/'
78 <style type='text/css'
>
84 font-family:
"Myriad Pro",
"Trebuchet MS", Helvetica, sans-serif;
95 <h1><a href=
"http://www.spip-contrib.net/Fullcalendar">FullCalendar pour SPIP
</a></h1>
97 <div id='calendar'
></div>