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
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 6
/*menu*/
$(function(){
var ind = $(".nav .m").index($(".sel")); //初始位置
var nav= jQuery(".nav");
var init = jQuery(".nav .m").eq(ind);
var block = jQuery(".nav .block"); //滑块
block.css({"width":init.innerWidth(),"left":init.position().left}); //初始化滑块位置
nav.hover(function(){},function(){block.css({"width":init.innerWidth()}); block.animate({"left":init.position().left},100);}); //移出导航滑块返回
jQuery(".nav").slide({
type:"menu", //效果类型
titCell:".m", // 鼠标触发对象
targetCell:".sub", // 效果对象,必须被titCell包含
effect:"slideDown",//下拉效果
delayTime:300, // 效果时间
triggerTime:100, //鼠标延迟触发时间
returnDefault:true,//on返回初始位置
defaultIndex:ind,//初始位置
startFun:function(i,c,s,tit){ //控制当前滑块位置
block.css({"width":$(tit).eq(i).innerWidth()});
block.animate({"left":tit.eq(i).position().left},100);
}
});
});
/*index banner*/
jQuery(".fullSlide").hover(function(){ jQuery(this).find(".prev,.next").stop(true,true).fadeTo("show",0.5) },function(){ jQuery(this).find(".prev,.next").fadeOut() });
jQuery(".fullSlide").slide({ titCell:".hd ul", mainCell:".bd ul", effect:"fold", autoPlay:true, autoPage:true,interTime:5000,trigger:"click",
startFun:function(i){
var curLi = jQuery(".fullSlide .bd li").eq(i); /* 当前大图的li */
if( !!curLi.attr("_src") ){
curLi.css("background-image",curLi.attr("_src")).removeAttr("_src") /* 将_src地址赋予li背景,然后删除_src */
}
}
});
/*tab 1*/
$(function(){
$(".t_tit a").each(function(){
$(this).mouseenter(function(){
var index = $(this).index();
var id = $(this).attr("id");
if($(this).parent("div").parent("div").attr("class") != "news_notice"){
$(this).attr("id","pre").siblings("a").attr("id","");
}
var columnDiv = $(this).parent("div").siblings("div");
columnDiv.find("ul").eq(index).show().siblings("ul").hide();
});
});
});
/*tab 2*/
$(function(){
$(".c_tit a").each(function(){
$(this).mouseenter(function(){
var index = $(this).index();
var id = $(this).attr("id");
if($(this).parent("div").parent("div").attr("class") != "news_notice"){
$(this).attr("id","pces").siblings("a").attr("id","");
}
var columnDiv = $(this).parent("div").siblings("div");
columnDiv.find("ul").eq(index).show().siblings("ul").hide();
});
});
});
$(document).ready(function () {
$(window).scroll(function() {
if( $(document).scrollTop() > 550 ){
$('.c_left').addClass('header-on');
}else{
$('.c_left').removeClass('header-on');
}
})
});
/*xianlu*/
$('li').mouseenter(function(){
$(this).find('.divA').stop().animate({bottom:'-66px'});
$(this).find('.a2').css({left:'0'})
$(this).children('.a2').find('.p4').css({left:'0'})
$(this).children('.a2').find('.p5').css({left:'0'})
$(this).children('.a2').find('.p6').css({transform:'scale(1)'})
$(this).children('.a2').find('.p7').css({bottom:'25px'})
})
$('li').mouseleave(function(){
$(this).find('.divA').stop().animate({bottom:'0px'});
$(this).find('.a2').css({left:-$(this).width()})
$(this).children('.a2').find('.p4').css({left:-$(this).width()})
$(this).children('.a2').find('.p5').css({left:-$(this).width()})
$(this).children('.a2').find('.p6').css({transform:'scale(1.3)'})
$(this).children('.a2').find('.p7').css({bottom:'-50px'})
})
//置顶图标显示
$('#top-back').hide()
$(window).scroll(function(){
if($(this).scrollTop() > 350){
$("#top-back").fadeIn();
}
else{
$("#top-back").fadeOut();
}
})
//置顶事件
function topBack(){
$('body,html').animate({scrollTop:0},300);
}
//页面JS容错处理
function killErrors() {
return true;
}
window.onerror = killErrors;