锘?(function(){ // JavaScript Document $(function(){ //if($(".index_banner").length>0){ //$(".index_banner").slide({mainCell:".bd ul",effect:"leftLoop",autoPlay:true,delayTime:600,interTime:5000,easing:"easeOutQuad",endFun:function(i){ // $(".black_bg").removeClass("movecss3"); // $(".black_bg").eq(i+1).addClass("movecss3"); //}}); //} if($(".pp_banner").length>0){ $(".pp_banner").slide({mainCell:".bd ul",effect:"leftLoop",autoPlay:true}); } $(".foot_select ul li").mouseenter(function(){//20160214瑙e喅Ie8涓嬪簳閮ㄩ摼鎺ラ棯鐜扮殑闂錛屾敼涓簃ouseenter鍜宮ouseleave $(this).find(".foot_select_dis").show(); $(this).addClass("bgchange"); }); $(".foot_select ul li").mouseleave(function(){ $(this).find(".foot_select_dis").hide(); $(this).removeClass("bgchange"); }); /* $(".pp_banner_control ul li").hover(function(){ //涓氬姟璇︽儏欏電殑涓嬫柟鐨刡anner鐨勫垏鎹㈡晥鏋滄槸鐢╝jax浼犺繘鍘葷殑 var pp_num = $(this).index(); for(var i =0;i<6;i++){ $(".move_control").removeClass("mo"+i); } $(".move_control").addClass("mo"+pp_num); $(".pp_banner").html(""); $.ajax({ url:"/webfront/article/queryByChannel.do?website_id=e18ba97580df4ab797156323badeeb3a&count=10", dataType:'text', success:function(html){ $(".pp_banner").html(html); } }); },function(){}); */ if($(".pp_banner_control ul li").length>0){ $(".pp_banner_control ul li").eq(0).mouseover(); } // $(".mapreal").live("mouseenter",function(){ // var real_num = $(this).index("area"); // if(real_num != 2){ // $(".map_dian").eq(real_num).show(); // } // }); // $(".mapreal").live("mouseleave",function(){ // $(".map_dian").hide(); // }); // $(".mapreal").live("click",function(){ // var this_num = $(this).index("area"); // $(".map_jieshao").hide(); // $(".map_jieshao").eq(this_num).show(); // }); // //20151106鍦板浘鐑偣鍙樻洿 // $(".mapreal").hover(function(){ // var this_num = $(this).index(); // $(".map_jieshao").hide(); // $(".map_jieshao").eq(this_num).show(); // },function(){ // $(".map_jieshao").hide(); // }) // $(".map_jieshao").hover(function(){ // $(this).show(); // },function(){ // $(this).hide(); // }) // // $(".close_this").live("click",function(){ // $(this).parents(".map_jieshao").hide(); // }); /* if($(".p_r_one").length>0){ $(".p_r_one").slide({mainCell:".bd ul",effect:"topLoop",vis:3}); $(".p_r_one").each(function(index, element) { var this_linum = $(this).find("li").length; if(this_linum==1){ $(this).find(".prev,.next").hide(); }else{ $(this).find(".prev,.next").show(); } }); } */ /*var this_num = 0; $(".time_line .hd ul li").click(function(){ this_num = $(this).index(); var this_have = $(".time_line .hd ul li").length; $(".time_line .hd ul li").removeClass("ontime"); $(this).addClass("ontime"); if(this_num>1 && this_num0){ $(".time_line .hd ul li").eq(0).click(); } $(".time_line .hd .prev").click(function(){ this_num--; if(this_num<=0){ this_num=0; } $(".time_line .hd ul li").eq(this_num).click(); }); $(".time_line .hd .next").click(function(){ var this_have = $(".time_line .hd ul li").length; this_num++; if(this_num>=this_have){ this_num=this_have; } $(".time_line .hd ul li").eq(this_num).click(); });*/ $(".head_nav ul li").hover(function(){ $(".nav_down_area").hide(); $(this).find(".nav_down_area").show(); },function(){ $(".nav_down_area").hide(); }); if($(".index_tet_slider").length>0){ $(".index_tet_slider").slide({titCell:".hdd ul",mainCell:".bdd ul",autoPage:true,effect:"topLoop",autoPlay:true,vis:1}); } // if($(".in_news_tab").length>0){ // var how_num = $(".in_news_tab .bd ul li").length; // var thisli = "
  • 鈼?/li>"; // for(var i=0;i0){ $(".index_switcher").slide({mainCell:".bd ul",effect:"leftLoop",autoPlay:true,scroll:1,vis:3}); } $(".chanye_box ul li").hover(function(){ $(this).find(".img_black").addClass("onhovercss3"); },function(){ $(this).find(".img_black").removeClass("onhovercss3"); }); }); function shop_fixed2(obj,fixed_class){ var num1=700;//璺濈紿楀彛欏墮儴鐨勮窛紱? var window_width = $(window).width(); if(window_width<1050){ $(window).scroll(function(){ var num=$(obj).offset().top; }) }else{ $(window).scroll(function(){ var num=$(obj).offset().top; var ttop=$(window).scrollTop(); if(num<=ttop){ $(obj).addClass(fixed_class); } if(ttop0){ shop_fixed2(".others_window","fixed3"); } function back_top(obj){ $(obj).click(function () { $('html,body').animate({ scrollTop :0 }, 500); }) } back_top(".back_top");//鍙充晶榪斿洖欏墮儴鎸夐挳鐨勬晥鏋? $(".onmousebig").hover(//寰崥寰俊榧犳爣縐諱笂鏀懼ぇ鐨勬晥鏋? function(){$(this).find(".canshow").show();}, function(){$(this).find(".canshow").hide();} ) }); 辽宁快乐十二选五开奖结果