I'm use a new t4-framework.
I want to add a smooth scroll to the anchor.
I use a script
(function($) {
$(document).ready(function() {
$(".scroll").click(function() {
$("html, body").animate({
scrollTop: $($(this).attr("href")).offset().top + "px"
}, {
duration: 500,
easing: "swing"
});
return false;
});
});
})(jQuery);
but it does not work.
help me please