Line 19: | Line 19: | ||
<p style="text-align:left !important;">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.</p> | <p style="text-align:left !important;">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.</p> | ||
− | |||
<h3 class="sectiontitle" id="week2" style="clear:both;">Week 2</h3> | <h3 class="sectiontitle" id="week2" style="clear:both;">Week 2</h3> | ||
Line 28: | Line 27: | ||
<div class="col-sm-2 col-xs-4"> | <div class="col-sm-2 col-xs-4"> | ||
− | |||
<div id="cal-heatmap"></div> | <div id="cal-heatmap"></div> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
Line 58: | Line 56: | ||
var week = Math.ceil(((date.getTime() / 1000 - 1480435200) / 86400 - 4) / 7 + 1); | var week = Math.ceil(((date.getTime() / 1000 - 1480435200) / 86400 - 4) / 7 + 1); | ||
let weekid = '#week' + week; | let weekid = '#week' + week; | ||
− | |||
$('html, body').animate({ | $('html, body').animate({ | ||
scrollTop: $(weekid).offset().top - 30 | scrollTop: $(weekid).offset().top - 30 |
Revision as of 04:32, 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.