Fix bug.
This commit is contained in:
parent
23210ca954
commit
6c3dd50722
|
@ -50,9 +50,6 @@
|
|||
}
|
||||
function open_kenjoh(flag){
|
||||
if(flag){
|
||||
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());
|
||||
}
|
||||
$('.kenjohn').addClass('navFixed').removeClass('navRel'); /* 幫選單加上固定效果 */
|
||||
}else{
|
||||
if ($('.header-banner').html().trim() == "") {
|
||||
|
@ -60,7 +57,6 @@
|
|||
}else{
|
||||
$('.kenjohn').removeClass('navRel').removeClass('navFixed'); /* 移除選單固定效果 */
|
||||
}
|
||||
$('.layout-content').css('margin-top','');
|
||||
}
|
||||
}
|
||||
function recalc_kenjohn_header(){
|
||||
|
|
Loading…
Reference in New Issue