Difference between revisions of "Template:ETH Zurich"
m |
m |
||
Line 82: | Line 82: | ||
$(function(){ // document ready | $(function(){ // document ready | ||
+ | document.getElementById('sideFiller').style.height = getStyle(document.getElementById('topContainer'),'height'); | ||
if (!!$('#sidemenu').offset()) { // make sure ".sticky" element exists | if (!!$('#sidemenu').offset()) { // make sure ".sticky" element exists | ||
var stickyTop = $('#sidemenu').offset().top; // returns number | var stickyTop = $('#sidemenu').offset().top; // returns number |
Revision as of 16:27, 19 August 2015