Difference between revisions of "Template:ETH Zurich"
m |
m |
||
Line 80: | Line 80: | ||
}); | }); | ||
+ | |||
+ | $(window).scroll(function() { | ||
+ | $('#sidemenu').css('top', $(this).scrollTop()); | ||
+ | }); | ||
+ | |||
/* stolen from https://css-tricks.com/scrollfollow-sidebar/ */ | /* stolen from https://css-tricks.com/scrollfollow-sidebar/ */ |
Revision as of 16:21, 19 August 2015