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');
|
$('.modules-menu-level-1').css('left','-'+$('.outdropdowns .dropdowns').offset().left+'px');
|
||||||
$(".downIcon").click(function() {
|
$(".downIcon").click(function() {
|
||||||
var theTop = $('.layout-content-inner.container').offset().top-$(".kenjohn").position().top-$(".kenjohn").height()+10;
|
$(".kenjohn").addClass('navFixed');
|
||||||
$("html, body").animate({
|
$('.layout-content').css('margin-top',$('.kenjohn').height());
|
||||||
scrollTop: theTop }, {duration: 500,easing: "swing"});
|
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;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue