fix style
This commit is contained in:
parent
bdc7ac3faf
commit
8497bbffbd
|
@ -8,7 +8,7 @@
|
|||
// if (location.href.search('editmode') == -1 && document.getElementsByClassName('asideright').length != 0) {
|
||||
if ( $('.header-banner').length != 0) {
|
||||
$('.layout-header').css('height', '');
|
||||
if ($(window).scrollTop() > 100) { /* 要滑動到選單的距離 */
|
||||
if ($(window).scrollTop() > 50) { /* 要滑動到選單的距離 */
|
||||
$('.kenjohn').addClass('navFixed').removeClass('navRel'); /* 幫選單加上固定效果 */
|
||||
} else {
|
||||
if ($('.header-banner').html().trim() == "") {
|
||||
|
|
Loading…
Reference in New Issue