(Created page with "{{Paris_Saclay}}") |
|||
Line 1: | Line 1: | ||
{{Paris_Saclay}} | {{Paris_Saclay}} | ||
+ | |||
+ | <div id="cal-heatmap"></div> | ||
+ | <script type="text/javascript"> | ||
+ | var cal = new CalHeatMap(); | ||
+ | var months = ["January", "February", "March", "April", "May, ", "June", "July", "August", "September", "October", "November", "December"]; | ||
+ | cal.init({ | ||
+ | domain: "month", | ||
+ | subDomain: "x_day", | ||
+ | start: new Date(2016, 5), | ||
+ | minDate: new Date(2016, 5), | ||
+ | maxDate: new Date(2016, 8), | ||
+ | range: 4, | ||
+ | data: "https://2016.igem.org/Team:Paris_Saclay/Notebook/calendar-datajson?action=raw", | ||
+ | onClick: function(date, count) { | ||
+ | var month = months[date.getMonth()]; | ||
+ | var day = date.getDate(); | ||
+ | var pid = month + "/" + day; | ||
+ | window.location.href = "https://2016.igem.org/Team:Paris_Saclay/Notebook/" + pid; | ||
+ | } | ||
+ | }); | ||
+ | </script> |
Revision as of 17:13, 27 June 2016