Active landing page

This commit is contained in:
Xavier J 2016-02-01 17:16:00 +01:00
parent 1dd7288c70
commit 7a61786814
10 changed files with 87 additions and 63 deletions

View file

@ -27,12 +27,3 @@
//= 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;
});
});