Line 63: | Line 63: | ||
<!-- /.container --> | <!-- /.container --> | ||
</nav> | </nav> | ||
− | + | <!--> | |
+ | <script type="text/javascript"> | ||
+ | var cal = new CalHeatMap(); | ||
+ | cal.init({ | ||
+ | domain: "month", | ||
+ | subDomain: "x_day", | ||
+ | data: "https://2014.igem.org/Team:Tec-Monterrey/ITESM14_notebook_data.json?action=raw&ctype=text/html", | ||
+ | start: new Date(2014, 5), | ||
+ | cellSize: 20, | ||
+ | cellPadding: 5, | ||
+ | domainGutter: 20, | ||
+ | range: 5, | ||
+ | legend: [2, 4, 6, 8], | ||
+ | legendColors: ["#FFE6FF", "#FF0060"], | ||
+ | onClick: function(date, count) { | ||
+ | var month = date.getMonth() + 1; | ||
+ | var day = date.getDate(); | ||
+ | var pid = "date-" + month + "-" + day; | ||
+ | $("#myid").load("https://2017.igem.org/Team:BOKU-Vienna/Notebookdata #" + pid); | ||
+ | } | ||
+ | }); | ||
+ | </script> | ||
+ | <!--> | ||
<!-- myintro Header --> | <!-- myintro Header --> | ||
<header class="myintro"> | <header class="myintro"> |
Revision as of 08:45, 11 July 2017