Difference between revisions of "Template:ETH Zurich"
m |
m |
||
Line 88: | Line 88: | ||
var windowTop = $(window).scrollTop(); // returns number | var windowTop = $(window).scrollTop(); // returns number | ||
if (stickyTop < windowTop){ | if (stickyTop < windowTop){ | ||
− | $('#sidemenu').css({ position: 'fixed', top: | + | $('#sidemenu').css({ position: 'fixed', top: '50px' }); |
} | } | ||
else { | else { |
Revision as of 16:30, 19 August 2015