Difference between revisions of "Team:Edouard"
Line 5: | Line 5: | ||
<script src='https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.10.3/moment.min.js'></script> | <script src='https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.10.3/moment.min.js'></script> | ||
<script src='https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/2.3.2/fullcalendar.js'></script> | <script src='https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/2.3.2/fullcalendar.js'></script> | ||
− | <script> | + | <script type='text/javascript' src='https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/2.3.2/gcal.js'></script> |
+ | |||
+ | <script type='text/javascript'> | ||
$(document).ready(function() { | $(document).ready(function() { | ||
− | |||
// page is now ready, initialize the calendar... | // page is now ready, initialize the calendar... | ||
− | |||
$('#calendar').fullCalendar({ | $('#calendar').fullCalendar({ | ||
// put your options and callbacks here | // put your options and callbacks here | ||
− | + | googleCalendarApiKey: '<AIzaSyAHhv6YBQOiPRdBdBbw0XFaib9fRIzzxp4>', | |
− | + | events: { | |
− | + | googleCalendarId: 'igembordeaux@gmail.com', | |
− | + | }, | |
− | weekends: | + | weekends: true |
− | }); | + | // will hide Saturdays and Sundays |
+ | }); | ||
+ | }); | ||
</script> | </script> | ||
− | |||
<meta charset="utf-8"> | <meta charset="utf-8"> | ||
<title>Document sans titre</title> | <title>Document sans titre</title> |
Revision as of 13:21, 2 July 2015