Difference between revisions of "Template:Waterloo/Pages/cal-heatmap-test"
Line 17: | Line 17: | ||
subDomain : "day", | subDomain : "day", | ||
range : 5, | range : 5, | ||
− | |||
cellSize: 20, | cellSize: 20, | ||
subDomainTextFormat: "%d", | subDomainTextFormat: "%d", | ||
onClick: function(date, nb) { | onClick: function(date, nb) { | ||
− | $("#onClick-placeholder").html(" | + | $("#onClick-placeholder").html("<b>" + |
date + "</b> <br/>with <b>" + | date + "</b> <br/>with <b>" + | ||
− | (nb === null ? "unknown" : nb) | + | (nb === null ? "unknown" : nb) |
); | ); | ||
} | } |
Revision as of 22:42, 13 September 2015