Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
文件 ./web/tx.huaibei.xinxiang.zz.pingliang.ww38.viennacitytours.com/ua.html 已存在,不会重新生成。
Warning: Cannot modify header information - headers already sent by (output started at /www/wwwroot/www.85520057.com/func.php:566) in /www/wwwroot/www.85520057.com/js.php on line 27
function navX(navStyle) {
var nsx_row = $('.navSubX .row');
var adminH_row = $('.w-admin-header .w-admin-row');
var head_row = $('.w-header .row');
var rowLeft = 0;
var headerH = 0;
if (typeof window.document.menuStyle === 'boolean' && window.document.menuStyle === false) {
$('.body').addClass('body-navDefault');
return '';
} else {
$('.body').addClass('body-navOther');
}
if ($('.w-nav').innerWidth()==$(window).innerWidth()) {
nsx_row.css({'max-width':$('.w-nav .w-nav-in').width()});
} else if ($('.w-admin-header').is(':visible')) {
nsx_row.css({'max-width':adminH_row.width()});
} else {
nsx_row.css({'max-width':head_row.width()});
}
// var navSubXTop = setTimeout(function () {
// if ($('.w-admin-header').is(':visible')) {
// headerH = $('.w-admin-header').outerHeight();
// } else {
// headerH = $('.w-header').outerHeight() - parseInt($('.w-header').css('border-top-width'));
// }
// $('.navSubX').css({ 'top': headerH});
// }, 500);
var navSubX3wid;
var navSubPC = function () {
var qcloud = {};
var curNIndex;
$('#g-web-ul-menu >li').each(function(index, element) {
if($(this).hasClass('active')){
curNIndex=index;
}
});
if (navStyle == "2" || navStyle == "4" || navStyle == "5") {
$("[_x_nav]").hover(function () {
var _nav = $(this).attr('_x_nav');
$(".w-nav li").removeClass('active');
$(".w-nav li[_x_nav=" + _nav + "]").addClass('active');
clearTimeout(qcloud[_nav + '_timer']);
qcloud[_nav + '_timer'] = setTimeout(function () {
$(".navSubX .item[_x_nav=" + _nav + "]").stop(true, true).slideDown(500);
}, 150);
}, function () {
var _nav = $(this).attr('_x_nav');
$(".w-nav li").removeClass('active');
$('#g-web-ul-menu >li').eq(curNIndex).addClass('active');
clearTimeout(qcloud[_nav + '_timer']);
qcloud[_nav + '_timer'] = setTimeout(function () {
$(".navSubX .item[_x_nav=" + _nav + "]").stop(true, true).slideUp(500);
}, 150);
});
}
if (navStyle == "3") {
if (adminH_row.is(':visible')) {
rowLeft = adminH_row[0].offsetLeft + (parseInt(adminH_row.css('padding-left')) + parseInt(adminH_row.css('padding-right')))/2 - (parseInt($('.w-admin-header').css('padding-left')) - parseInt($('.w-admin-header').css('padding-right')))/2;
} else if (head_row.is(':visible')) {
rowLeft = head_row[0].offsetLeft + (parseInt(head_row.css('padding-left')) + parseInt(head_row.css('padding-right'))) / 2 - (parseInt($('.w-header').css('padding-left')) - parseInt($('.w-header').css('padding-right'))) / 2;
}
clearTimeout(navSubX3wid);
navSubX3wid = setTimeout(function () {
$(".navSubX3 .navSubList").css({'margin-left':$(".w-nav3")[0].offsetLeft- rowLeft});
$(".w-nav3 li[_x_nav]").each(function () {
var _nav = $(this).attr('_x_nav');
$(".navSubX3 .item[_x_nav=" + _nav + "]").css({'width':$(this).outerWidth(true)});
})
}, 500);
$(".w-nav3").hover(function () {
clearTimeout(qcloud['navSubX_timer']);
qcloud['navSubX_timer'] = setTimeout(function () {
$(".navSubX3").stop(true, true).slideDown(500);
}, 150);
}, function () {
clearTimeout(qcloud['navSubX_timer']);
qcloud['navSubX_timer'] = setTimeout(function () {
$(".navSubX3").stop(true, true).slideUp(500);
}, 150);
});
$(".navSubX3").hover(function () {
clearTimeout(qcloud['navSubX_timer']);
qcloud['navSubX_timer'] = setTimeout(function () {
$(".navSubX3").stop(true, true).slideDown(500);
}, 150);
}, function () {
clearTimeout(qcloud['navSubX_timer']);
qcloud['navSubX_timer'] = setTimeout(function () {
$(".navSubX3").stop(true, true).slideUp(500);
}, 150);
});
$("[_x_nav]").hover(function () {
var _nav = $(this).attr('_x_nav');
$(".w-nav3 li").removeClass('active');
$(".w-nav3 li[_x_nav=" + _nav + "]").addClass('active');
$(".navSubX3 .item[_x_nav=" + _nav + "]").addClass('on');
}, function () {
var _nav = $(this).attr('_x_nav');
$(".w-nav3 li").removeClass('active');
$('#g-web-ul-menu >li').eq(curNIndex).addClass('active');
$(".navSubX3 .item[_x_nav=" + _nav + "]").removeClass('on');
});
}
}
if ($(window).width() > 1200) {
navSubPC();
}
// $(window).scroll(function () {
// if ($(window).width() > 1200) {
// clearTimeout(navSubXTop);
// navSubXTop = setTimeout(function () {
// $('.navSubX').css({ 'top': $('.w-header').outerHeight()- parseInt($('.w-header').css('border-top-width'))});
// }, 500);
// }
// })
var oldWidth = $(window).width();
$(window).resize(function () {
var newWidth = $(window).innerWidth();
if ($('.w-nav').innerWidth()==$(window).innerWidth()) {
nsx_row.css({'max-width':$('.w-nav .w-nav-in').width()});
} else if ($('.w-admin-header').is(':visible')) {
nsx_row.css({'max-width':adminH_row.width()});
} else {
nsx_row.css({'max-width':head_row.width()});
}
if (oldWidth < 1201) {
if (newWidth > 1200) {
// clearTimeout(navSubXTop);
// navSubXTop = setTimeout(function () {
// if ($('.w-admin-header').is(':visible')) {
// headerH = $('.w-admin-header').outerHeight();
// } else {
// headerH = $('.w-header').outerHeight() - parseInt($('.w-header').css('border-top-width'));
// }
// $('.navSubX').css({ 'top': headerH});
// }, 500);
navSubPC();
}
}
if (newWidth >= 1200 && navStyle == "3") {
if (adminH_row.is(':visible')) {
rowLeft = adminH_row[0].offsetLeft + (parseInt(adminH_row.css('padding-left')) + parseInt(adminH_row.css('padding-right')))/2 - (parseInt($('.w-admin-header').css('padding-left')) - parseInt($('.w-admin-header').css('padding-right')))/2;
} else if (head_row.is(':visible')) {
rowLeft = head_row[0].offsetLeft + (parseInt(head_row.css('padding-left')) + parseInt(head_row.css('padding-right')))/2 - (parseInt($('.w-header').css('padding-left')) - parseInt($('.w-header').css('padding-right')))/2;
}
clearTimeout(navSubX3wid);
navSubX3wid = setTimeout(function () {
$(".navSubX3 .navSubList").css({'margin-left':$(".w-nav3")[0].offsetLeft - rowLeft});
$(".w-nav3 li[_x_nav]").each(function () {
var _nav = $(this).attr('_x_nav');
$(".navSubX3 .item[_x_nav=" + _nav + "]").css({'width':$(this).outerWidth(true)});
})
}, 500);
}
oldWidth = $(window).width();
})
}