definicao de layout
This commit is contained in:
8
public/assets/js/landing_sticky.js
Normal file
8
public/assets/js/landing_sticky.js
Normal file
@@ -0,0 +1,8 @@
|
||||
$(window).scroll(function() {
|
||||
if ($(this).scrollTop() > 350){
|
||||
$('header').addClass("sticky");
|
||||
}
|
||||
else{
|
||||
$('header').removeClass("sticky");
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user