common.js

//Плавный скролл до блока .div по клику на .scroll //Документация: https://github.com/flesler/jquery.scrollTo $("a.scroll").click(function() { $.scrollTo($(".div"), 800, { offset: -90 }); });
smoothScroll

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.