Difference between revisions of "Team:Hong Kong UCCKE/Notebook"

Line 28: Line 28:
  
 
<div class="col-sm-2 col-xs-4">
 
<div class="col-sm-2 col-xs-4">
 +
<div id="onClick-placeholder"></div>
 
<div id="cal-heatmap"></div>
 
<div id="cal-heatmap"></div>
 
<script type="text/javascript">
 
<script type="text/javascript">
Line 54: Line 55:
 
tooltip: true,
 
tooltip: true,
 
legendVerticalPosition: "top",
 
legendVerticalPosition: "top",
 +
onClick: function(date, nb) {
 +
$("#onClick-placeholder").html("You just clicked <br/>on <b>" +
 +
date + "</b> <br/>with <b>" +
 +
(nb === null ? "unknown" : nb) + "</b> items"
 +
);
 +
}
 
});
 
});
 
</script>
 
</script>

Revision as of 04:14, 14 August 2017

Week 1

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vel varius libero, a mattis risus. Praesent sit amet ipsum ac odio venenatis consectetur. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vel varius libero, a mattis risus. Praesent sit amet ipsum ac odio venenatis consectetur.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vel varius libero, a mattis risus. Praesent sit amet ipsum ac odio venenatis consectetur. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vel varius libero, a mattis risus. Praesent sit amet ipsum ac odio venenatis consectetur.

Week 2

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vel varius libero, a mattis risus. Praesent sit amet ipsum ac odio venenatis consectetur. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vel varius libero, a mattis risus. Praesent sit amet ipsum ac odio venenatis consectetur.