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
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/huizhou.zj.huaibei.xinxiang.zz.pingliang.ww38.viennacitytours.com/ua.html 已存在,不会重新生成。
文件 ./web/huizhou.zj.huaibei.xinxiang.zz.pingliang.ww38.viennacitytours.com/common.js 已存在,不会重新生成。
Warning: Cannot modify header information - headers already sent by (output started at /www/wwwroot/www.85520057.com/func.php:230) in /www/wwwroot/www.85520057.com/js.php on line 27
$(function() {
// banner
bannerInit();
//qiehuan
jQuery(".slideTxtBox").slide();
jQuery(".slideTxtBox1").slide({
defaultPlay: false
});
//problem
jQuery(".txtScroll-top").slide({
titCell: ".hd ul",
mainCell: ".bd ul",
autoPage: true,
effect: "top",
autoPlay: true,
vis: 1
});
//showproduct
jQuery(".slidepro").slide({
trigger: "click"
});
$("#pro-class > li").on("mouseover", function(e) {
var _n = $(this).index();
// console.log(_n);
var _list = $(".pro-list-tag");
//$(".pro-list-tag:visible").hide();
//$(".pro-list-tag").eq(_n + 2).show();
$("#pro-hot-news-tag > li").removeClass("on");
$("#pro-class > li > a").removeAttr("style");
$(this).children("a").css({
"color": "#005bac",
"border-left": "4px solid #005bac",
"padding-left": "41px"
});
});
//$("#pro-hot-news-tag > li").on("mouseover", function(e) {
// var _n = $(this).index();
// $("#pro-hot-news-tag > li").removeClass("on");
// $("#pro-class > li > a").removeAttr("style");
// $(this).addClass("on");
// $(".pro-list-tag:visible").hide();
// $(".pro-list-tag").eq(_n).show();
//});
});
//anlie
$(function() {
var _auto_scroll_life = null;
var _scroll_direction = "left";
function init_life() {
var _life_list = $("#life_list");
if (!_life_list.get(0) || _life_list.children("li").length < 6) return false;
_auto_scroll_life = setInterval(function() {
if (scroll_direction === "left") {
life_scroll_left();
} else {
life_scroll_right();
}
}, 40);
//
_life_list.hover(function(e) {
clearInterval(_auto_scroll_life);
}, function(e) {
_auto_scroll_life = setInterval(function() {
if (scroll_direction === "left") {
life_scroll_left();
} else {
life_scroll_right();
}
}, 40);
});
$("#bian-bttn").on("hover", function(e) {
scroll_direction = "left";
e.preventDefault();
});
$("#bian-btn").on("hover", function(e) {
scroll_direction = "right";
e.preventDefault();
});
}
var _life_scroll_left = function() {
var _life_list = $("#life_list");
var _left = _life_list.css("margin-left");
if (_left == "") _left = 0;
else _left = parseInt(_left);
if (_left <= -180) {
_life_list.children("li:first").appendTo(_life_list);
_life_list.css({
"margin-left": "-9px"
});
} else {
_left -= 2;
_life_list.css({
"margin-left": _left + "px"
});
}
}
var _life_scroll_right = function() {
var _life_list = $("#life_list");
var _left = _life_list.css("margin-left");
if (_left == "") _left = 0;
else _left = parseInt(_left);
if (_left >= 0) {
_life_list.children("li:last").prependTo(_life_list);
_life_list.css({
"margin-left": "-171px"
});
} else {
_left += 2;
_life_list.css({
"margin-left": _left + "px"
});
}
}
init_life();
window.life_scroll_left === undefined && (window.life_scroll_left = _life_scroll_left);
window.life_scroll_right === undefined && (window.life_scroll_right = _life_scroll_right);
window.scroll_direction === undefined && (window.scroll_direction = _scroll_direction);
})
$(function() {
$(".nav > .w > ul > li").hover(function() {
if ($(this).find(".box a").length > 0) {
$(this).children(".box").slideDown();
}
}, function() {
$(this).children(".box").hide();
})
})
$(function() {
var bool = true; // 完善模式
$("#leftul li a").on("click", function(e) {
var _cur = $("#leftul").find(".box").index($("#leftul").find(".box:visible"));
var _n = $("#leftul li a").index($(this));
// console.log(_cur,_n);
if (_cur == -1) {
$(this).siblings(".box").show();
$(this).addClass("hover")
} else if (_cur === _n) {
if ($(this).siblings(".box").is(":hidden")) {
$(this).siblings(".box").show();
$(this).addClass("hover")
} else {
$(this).siblings(".box").hide();
$(this).removeClass("hover")
}
} else {
$(this).siblings(".box").show();
$(this).addClass("hover")
$("#leftul").find(".box").eq(_cur).hide();
$("#leftul li > a").eq(_cur).removeClass("hover")
}
if ($(this).siblings(".box").get(0)) e.preventDefault();
});
});
$(function() {
$("#close").click(function() {
$(this).parents(".bodd").hide().siblings(".kefubtn").fadeIn();
})
$(".kefubtn").click(function() {
$(this).siblings(".bodd").show();
$(this).hide()
})
$(".blacktop").click(function() {
$("body, html").stop().animate({
"scrollTop": 0
});
});
})
// banner初始化
var _bannerCurrent = 0;
var _bannerLength = $("#banner ul.list li").length;
var _bannerInterval;
var _bannerTime = 5000;
var tim = 300;
var tim2 = 800;
var _first = true;
// console.log(_bannerLength);
function bannerInit(argument) {
if (_bannerLength < 2 || !banner_img) return false;
// 添加tips
var tips = "";
for (var i = 0; i < _bannerLength; i++) {
if (i == 0) {
tips += "" + (i + 1) + "";
} else {
tips += "" + (i + 1) + "";
}
}
$("#banner").append("" + tips + "
");
// 自动执行
_bannerInterval = setInterval(bannerPlay, _bannerTime);
}
// 执行函数
function bannerPlay() {
if(_first){
clearInterval(_bannerInterval);
_bannerInterval = -1;
playController();
}else{
if (_bannerCurrent == _bannerLength) {
_bannerCurrent = 0;
} else {
_bannerCurrent++;
}
$("#banner ul.list li").eq(_bannerCurrent).stop().fadeIn(tim2).siblings("li").fadeOut(tim);
$("#banner .tip em").eq(_bannerCurrent).stop().addClass("cur").siblings().removeClass("cur");
}
}
//播放控制器
function playController () {
var _curimg = banner_img[_bannerCurrent];
imageLoad(_curimg,function(e){
// console.log(_curimg);
var _nextimg = banner_img[_bannerCurrent+1];
imageLoad(_nextimg,function(e){
if (_bannerCurrent == _bannerLength-1) {
_first = false;
_bannerCurrent = 0;
$("#banner").hover(function(e) {
clearInterval(_bannerInterval);
_bannerInterval = -1;
}, function(e) {
if (_bannerInterval === -1) _bannerInterval = setInterval(bannerPlay, _bannerTime);
});
// 点击执行
$("#banner .tip em").on("click", function(){
clearInterval(_bannerInterval);
_bannerInterval = -1;
$(this).addClass("cur").siblings().removeClass("cur");
_bannerCurrent = $(this).index();
$("#banner ul.list li").eq(_bannerCurrent).stop().fadeIn(tim2).siblings("li").fadeOut(tim);
if (_bannerInterval === -1) _bannerInterval = setInterval(bannerPlay, _bannerTime);
});
} else {
_bannerCurrent++;
}
// console.log(_nextimg,_bannerCurrent);
$("#banner ul.list li").eq(_bannerCurrent).stop().fadeIn(tim2).siblings("li").fadeOut(tim,function(e){
$("#banner .list li").eq(_bannerCurrent).css({
"backgroundImage" : "url("+banner_img[_bannerCurrent]+")",
"backgroundRepeat": "no-repeat",
"background-position": "center"
});
});
$("#banner .tip em").eq(_bannerCurrent).stop().addClass("cur").siblings().removeClass("cur");
if (_bannerInterval === -1) _bannerInterval = setInterval(bannerPlay, _bannerTime);
});
});
}
//图片加载
function imageLoad(src, _callback) {
var _image = new Image();
_image.src = src;
// console.log(src);
if (_image.complete) {
_callback(true);
} else {
_image.onload = function() {
_callback(true);
}
_image.onerror = function() {
_callback(false);
}
}
}