$(document).ready(function () {
+ $("#scrollto").click(function(e) {
+ e.preventDefault();
+ $('body').animate({
+ scrollTop: $("#features").offset().top -72
+ }, 1500);
+ });
$(window).scroll(function () {
if ($(document).scrollTop() > 100) {
$(".fixed-top").addClass("scrolled");
$(".menu-text").removeClass("hidden");
}
});
-
- $("#scrollto").click(function() {
- $('html, body').animate({
- scrollTop: $("#features").offset().top -72
- }, 1500, 'easeInOutExpo');
- });
});
$.query = function(name){