modif du scroll sur les ancres
This commit is contained in:
parent
cc9ce4e38a
commit
b35852395f
@ -55,7 +55,7 @@ function scrollNav() {
|
|||||||
// $('.'+theClass).parent('li').addClass('active');
|
// $('.'+theClass).parent('li').addClass('active');
|
||||||
//Animate
|
//Animate
|
||||||
$('html, body').stop().animate({
|
$('html, body').stop().animate({
|
||||||
scrollTop: $( $(this).attr('href') ).offset().top - 240
|
scrollTop: $( $(this).attr('href') ).offset().top - 160
|
||||||
}, 400);
|
}, 400);
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user