fix downIcon
This commit is contained in:
parent
7ceaf5c75a
commit
929b449b3e
|
@ -799,9 +799,13 @@ function transdate(){
|
|||
});
|
||||
$('.modules-menu-level-1').css('left','-'+$('.outdropdowns .dropdowns').offset().left+'px');
|
||||
$(".downIcon").click(function() {
|
||||
var theTop = $('.layout-content-inner.container').offset().top-$(".kenjohn").position().top-$(".kenjohn").height()+10;
|
||||
$("html, body").animate({
|
||||
scrollTop: theTop }, {duration: 500,easing: "swing"});
|
||||
$(".kenjohn").addClass('navFixed');
|
||||
$('.layout-content').css('margin-top',$('.kenjohn').height());
|
||||
window.setTimeout(function(){
|
||||
var theTop = $('.layout-content-inner.container').offset().top-$(".kenjohn").position().top-$(".kenjohn").height()+10;
|
||||
$("html, body").animate({
|
||||
scrollTop: theTop }, {duration: 500,easing: "swing"});
|
||||
},10);
|
||||
return false;
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue