update
This commit is contained in:
10
static/admin/assets/js/landing_sticky.js
Normal file
10
static/admin/assets/js/landing_sticky.js
Normal file
@@ -0,0 +1,10 @@
|
||||
$(window).scroll(function() {
|
||||
if ($(this).scrollTop() > 0){
|
||||
$('header').addClass("sticky");
|
||||
}
|
||||
else{
|
||||
$('header').removeClass("sticky");
|
||||
}
|
||||
});
|
||||
|
||||
new WOW().init();
|
||||
Reference in New Issue
Block a user