Özgür Yazılım Derneği web sitesi
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
oyd-web/static/js/home.js

13 lines
297 B

$(document).ready(function() {
$(window).on('scroll', function(event) {
var scrollPos = $(event.target).scrollTop();
if (scrollPos > 20) {
$('#appTidyverseSite').addClass("shrinkHeader");
}
else {
$('#appTidyverseSite').removeClass("shrinkHeader");
}
});
});