Team:UniSalento Lecce/js/fixed-sidebar.js
From 2013.igem.org
$(window).scroll(function() {
if ($(this).scrollTop() > 290) { $(".fixsidebar").css({ "position": "fixed", "top": "90px" }); } else { $(".fixsidebar").css({ "position": "absolute", "top": "365px" }); }
});