m |
|||
Line 47: | Line 47: | ||
maxDate: new Date(2016, 8), | maxDate: new Date(2016, 8), | ||
range: 4, | range: 4, | ||
− | data: "https://2016.igem.org/Team:Paris_Saclay/Notebook/calendar-datajson?action=raw" | + | data: "https://2016.igem.org/Team:Paris_Saclay/Notebook/calendar-datajson?action=raw", |
+ | onClick: function(date, count) { | ||
+ | var month = date.getMonth() + 1; | ||
+ | var day = date.getDate(); | ||
+ | var pid = month + "/" + day; | ||
+ | window.location.href = "https://2016.igem.org/Team:Paris_Saclay/Notebook/" + pid; | ||
+ | } | ||
}); | }); | ||
</script> | </script> |
Revision as of 16:55, 27 June 2016