Difference between revisions of "Template:ETH Zurich"
m |
m |
||
Line 61: | Line 61: | ||
<!-- stolen from https://css-tricks.com/scrollfollow-sidebar/ --> | <!-- stolen from https://css-tricks.com/scrollfollow-sidebar/ --> | ||
$(function() { | $(function() { | ||
+ | document.getElementById('sideFiller').style.height = document.getElementById('topContainer').style.height; | ||
var $sidebar = $("#sidemenu"), | var $sidebar = $("#sidemenu"), | ||
Line 111: | Line 112: | ||
<!-- Start of the template html elements. --> | <!-- Start of the template html elements. --> | ||
<div id="sidemenuContainer"> | <div id="sidemenuContainer"> | ||
+ | <div id="sideFiller" style="height:"></div> | ||
<div id="sidemenu"> | <div id="sidemenu"> | ||
</div> | </div> |
Revision as of 10:37, 18 August 2015