New landing page
This commit is contained in:
parent
e2a896d0b0
commit
2b2a4c3f0a
4 changed files with 51 additions and 13 deletions
|
@ -27,3 +27,12 @@
|
|||
//= require smart_listing
|
||||
//= require turf
|
||||
//= require franceconnect
|
||||
|
||||
$(document).ready(function() {
|
||||
$('.js-scrollTo').on('click', function() { // Au clic sur un élément
|
||||
var page = $(this).attr('cible'); // Page cible
|
||||
var speed = 600; // Durée de l'animation (en ms)
|
||||
$('html, body').animate( { scrollTop: $(page).offset().top-100 }, speed ); // Go
|
||||
return false;
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue