fix error

This commit is contained in:
chiu 2021-09-02 13:02:28 +08:00
parent c2a62aad17
commit 7ceaf5c75a
1 changed files with 1 additions and 2 deletions

View File

@ -799,11 +799,10 @@ function transdate(){
}); });
$('.modules-menu-level-1').css('left','-'+$('.outdropdowns .dropdowns').offset().left+'px'); $('.modules-menu-level-1').css('left','-'+$('.outdropdowns .dropdowns').offset().left+'px');
$(".downIcon").click(function() { $(".downIcon").click(function() {
var theTop = $("#onesection").offset().top - 160;; var theTop = $('.layout-content-inner.container').offset().top-$(".kenjohn").position().top-$(".kenjohn").height()+10;
$("html, body").animate({ $("html, body").animate({
scrollTop: theTop }, {duration: 500,easing: "swing"}); scrollTop: theTop }, {duration: 500,easing: "swing"});
return false; return false;
}); });
}); });