modif du scroll sur les ancres
This commit is contained in:
		| @@ -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; | ||||||
|   }); |   }); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user