To create the slow scroll effect on anchor links
I tried to
enter in jf_salina\scripts\js\template.js
this code
// SCROLL //
menuItems = $(".nav ul.nav > li > a");
menuItems.click(function(e){
$(".nav ul.nav > li").removeClass('active');
$(this).parent().addClass('active');
var href = $(this).attr("href"),
offsetTop = href === "#" ? 0 : $(href).offset().top-topMenuHeight+12;
$('html, body').stop().animate({
scrollTop: offsetTop
},800);
e.preventDefault();
});
// \. SCROLL //
but it does not work
maybe something else is missing?