Team:Tec-Monterrey/ITESM14 notebook.html
From 2014.igem.org
(Difference between revisions)
Ejzardainc (Talk | contribs) |
Ejzardainc (Talk | contribs) |
||
Line 1: | Line 1: | ||
- | < | + | <div id="wiki-body"> |
- | <h1>Calendar</h1> | + | |
+ | <body> | ||
+ | |||
+ | <header id="wiki-header" class="initial-nav-scroll-up"> | ||
+ | </header> | ||
+ | |||
+ | <div id ="wiki-content" class="main-content"> | ||
+ | |||
+ | <div class="well"> | ||
+ | <div class="container"> | ||
+ | |||
+ | <h1>Calendar</h1> | ||
<div id="cal-heatmap"> | <div id="cal-heatmap"> | ||
Line 32: | Line 43: | ||
<div id="myid"> | <div id="myid"> | ||
</div> | </div> | ||
- | </ | + | |
+ | |||
+ | |||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | |||
+ | </body> | ||
+ | |||
+ | </div> |
Revision as of 12:03, 12 October 2014
<body>
<header id="wiki-header" class="initial-nav-scroll-up"> </header>
Calendar
<script type="text/javascript"> var cal = new CalHeatMap(); cal.init({ domain: "month", subDomain: "x_day", data: "notebook/notebook_data.json", start: new Date(2014, 6), cellSize: 20, cellPadding: 5, domainGutter: 20, range: 4, legend: [2, 4, 6, 8], legendColors: ["#FFE6FF", "#FF0060"], onClick: function(date, count) { //alert("Oh gosh, " + count + " things occured on " + date.toISOString()); //var path = "notebook/" + date.toISOString() + ".html"; //var path = "module1.html" //$("#myid").load(path); var month = date.getMonth() + 1; var day = date.getDate(); var pid = "date-" + month + "-" + day; $("#myid").load("notebook/notebook_data.html #" + pid); } }); </script>
</body>