Fix bug.
This commit is contained in:
parent
f90bfd399c
commit
2f0cc70b7c
|
@ -52,7 +52,7 @@
|
|||
$('.layout-header').css('height', '');
|
||||
var scrollTop = $(window).scrollTop();
|
||||
if (!window.has_topest_banner){
|
||||
$('.kenjohn').removeClass('navFixed').addClass('navRel');
|
||||
$('.kenjohn').removeClass('navFixed').addClass('navRel'); /* 正常選單固定效果 */
|
||||
}else if (scrollTop>5) { /* 要滑動到選單的距離 */
|
||||
if (parseInt($('.layout-content').css('margin-top'))==0 && $('.layout-content.topcontent').length != 0 && $('.layout-content.topcontent').offset().top<400){
|
||||
$('.layout-content').css('margin-top',$('.kenjohn').height()-$('#orbit-bar').height());
|
||||
|
|
Loading…
Reference in New Issue