1//JavaScript Document 2$(function(){ 3 // css ä¿®æ¹ æ·»å 4 $(".nav li:last").css({"padding-right":"0px","background-image":"none"}); 5 $(".ban_margin li:last").css("margin-right","0px"); 6 $(".index_case ul li:nth-child(3n)").css({"margin-right":"0px"}).after("<hr class='case_xian' style='border:1 dashed #E0E0E0' width='100%' color='#E0E0E0' SIZE='1'>"); 7 $(".zixun_left div ul li:last").css({"border-bottom":"none","margin-bottom":"15px"}); 8 //$(".links div a:first").css("padding-left","0px"); 9 $(".service_tp ul li:nth-child(5n)").css("margin-right","0px"); 10 $(".free_nr ul li:nth-child(6n)").css("padding-right","0px").css("background-image","none"); 11 $(".advantage_nr ul li:last").css("margin-right","0px"); 12 $(".sev_case_nr ul li:nth-child(3n)").css({"margin-right":"0px"}).after("<hr class='case_xian' style='border:1 dashed #8898A6' width='100%' color='#E0E0E0' SIZE='1'>"); 13 $(".hezuo ul li:odd").addClass("hezuo_li"); 14 $(".pinpai_tp ul li:nth-child(5n)").css("margin-right","0px"); 15 $(".shangcheng_tp ul li:nth-child(5n)").css("margin-right","0px"); 16 $(".shouji_tp ul li:nth-child(5n)").css("margin-right","0px"); 17 $(".yingxiao_tp ul li:nth-child(5n)").css("margin-right","0px"); 18 /*$(".anli_nr ul li:nth-child(3n)").css({"margin-right":"0px"}).after("<hr class='case_xian' style='border:1 dashed #E0E0E0' width='100%' color='#E0E0E0' SIZE='1'>");*/ 19 $(".anli_nr ul li:nth-child(3n)").css({"margin-right":"0px"}).after(""); 20 21 22}) 23//èåæ ä¸æææ 24$(function(){ 25 $(".nav li").has("div").hover(function(){ 26 $(this).children("div").stop(false,true).slideDown(); 27 },function(){ 28 $(this).children("div").stop(false,true).slideUp(); 29 }); 30 31}) 32// ban ææ 33var next1 = 0; 34var prev2 = 0; 35var click_shu = false; 36$(function(){ 37 // è·åban æ»å¨å°±æ¯ li ç宽度 38 $('#banner .slides li').not(':first').css({left:$(window).width()}); 39 // è·å liçä¸ªæ° ä¹å°±æ¯ åãæ»å¨çæ¬¡æ° 40 li_shu = $('#banner .slides li').length; 41 // èªå¨ æ»å¨ 宿¶å¨ 42 movezi = window.setInterval(function(){ 43 zimove(prev2,next1); 44 },5000) 45}) 46 47//é¦é¡µå å³ èªå¨ç§»å¨ 48function moveright(_prev,_next){ 49 $('#banner .slides li').eq(_prev).stop(true,false).animate({left:-$(window).width()},1000,function(){}) 50 $('#banner .slides li').eq(_next).css({left:$(window).width()}).stop(true,false).animate({left:0},1000,function(){ 51 click_shu = false; 52 }) 53} 54//é¦é¡µå å·¦ èªå¨ç§»å¨ 55function moveleft(_prev,_next){ 56 $('#banner .slides li').eq(_prev).stop(true,false).animate({left:$(window).width()},1000,function(){}) 57 $('#banner .slides li').eq(_next).css({left:-$(window).width()}).stop(true,false).animate({left:0},1000,function(){ 58 click_shu = false; 59 }) 60} 61//é¦é¡µæ°é»èµè®¯ï¼ç¨js夿é«åº¦å宽度æ¥è®¾ç½®å¾ççå¤§å° 62$(function(){ 63 $(".index_news_titlepic img").each(function(){ 64 $(this).load(function(){ 65 var img = new Image(); 66 img.src =$(this).attr("src") ; 67 var imgwidth =img.width; //å¾çå®é 宽度 68 var imgheight=img.height;//å¾çå®é é«åº¦ 69 if(imgwidth>imgheight){ 70 $(this).css({"width":"auto","height":"90px"}); 71 }else{ 72 $(this).css({"width":"110px","height":"auto"}); 73 } 74 }) 75 }) 76}) 77// èªå¨ç§»å¨ å®é æ§è¡ä»£ç 78function zimove(){ 79 if(next1 >=(li_shu-1)){ 80 next1 = 0; 81 prev2 = li_shu-1; 82 }else{ 83 prev2 = next1; 84 next1 = next1+1; 85 } 86 moveright(prev2,next1); 87} 88 89$(document).ready(function(e) { 90 $('.flex_comBtn').hover(function(){ 91 window.clearInterval(movezi) 92 },function(){ 93 movezi = window.setInterval(function(){ 94 zimove(prev2,next1); 95 },5000) 96 }) 97 // å·¦å³ 98 $('.ban_left').click(function(e){ 99 e.preventDefault(); 100 if(click_shu) return; 101 click_shu = true; 102 prev2 = next1; 103 next1 = next1 -1; 104 if(next1 < 0){ 105 prev2 = 0; 106 next1 = li_shu-1; 107 } 108 moveleft(prev2,next1); 109 prev2 = next1; 110 }) 111 $('.ban_right').click(function(e){ 112 e.preventDefault(); 113 if(click_shu) return; 114 click_shu = true; 115 prev2 = next1; 116 next1 = next1 + 1; 117 if(prev2 >= (li_shu-1)){ 118 next1 = 0; 119 prev2 = li_shu-1; 120 } 121 moveright(prev2,next1); 122 prev2 = next1; 123 }) 124}); 125 126// é¦é¡µ æ¡ä¾å±ç¤º ææ 127$(document).ready(function(e) { 128 //é¦é¡µ æ¡ä¾å±ç¤º 129 $(".index_case ul li a").append("<div class='case_abj'></div>"); 130 $(".index_case ul li a").hover(function () { 131 $(this).children().stop(false,true); 132 $(this).children(".case_abj").fadeTo(700,0.98); 133 },function () { 134 $(this).children().stop(false,true); 135 $(this).children(".case_abj").fadeTo(700,0); 136 }); 137 //é¦é¡µ æå¡é¡¹ç® 138 $(".sev_case_nr ul li a").append("<div class='case_abj'></div>"); 139 $(".sev_case_nr ul li a").hover(function () { 140 $(this).children().stop(false,true); 141 $(this).children(".case_abj").fadeTo(700,0.98); 142 },function () { 143 $(this).children().stop(false,true); 144 $(this).children(".case_abj").fadeTo(700,0); 145 }); 146 // æ¡ä¾å±ç¤º å¾ç 147 $(".anli_nr ul li a").append("<div class='case_abj'></div>"); 148 $(".anli_nr ul li a").hover(function () { 149 $(this).children().stop(false,true); 150 $(this).children(".case_abj").fadeTo(700,0.98); 151 },function () { 152 $(this).children().stop(false,true); 153 $(this).children(".case_abj").fadeTo(700,0); 154 }); 155}); 156 157// contact 158$(function(){ 159 $(".contact_left ul li").hover(function(){ 160 $(this).children("div").show(); 161 },function(){ 162 $(this).children("div").hide(); 163 }); 164}) 165 166 167//èç³»æä»¬éæ± 168//å¥é¤éæ± 169function check_xuqiu_form(){ 170 var title=$.trim($("#title").val(),'å§å'); 171 var mobile=$.trim($("#mobile").val()); 172 var saytext=$.trim($("#saytext").val()); 173 var key=$.trim($("#key").val()); 174 175 if(title==''){ 176 $("#title").css({"border":"#ff0000 1px solid"}); 177 $("#title").focus(); 178 return false; 179 }else{ 180 $("#title").css({"border":"#DDDDDD 1px solid"}); 181 } 182 183 if(mobile==''){ 184 $("#mobile").css({"border":"#ff0000 1px solid"}); 185 $("#mobile").focus(); 186 return false; 187 }else if(valid_mobile(mobile)==false){ 188 alert("ææºå·ç 䏿£ç¡®"); 189 $("#mobile").focus(); 190 return false; 191 }else{ 192 $("#mobile").css({"border":"#DDDDDD 1px solid"}); 193 } 194 195 if(key==''){ 196 $("#key").css({"border":"#ff0000 1px solid"}); 197 $("#key").focus(); 198 return false; 199 }else{ 200 $("#key").css({"border":"#DDDDDD 1px solid"}); 201 } 202 203 $("#form_submit_bottom").html("<img src='/skin/images/30_1.jpg'>"); 204 document.xuqiu_form.submit(); 205} 206$(document).ready(function(e) { 207 $(".contact_qh .liangx li:last").css("margin-right","0px"); 208}); 209 210/*å表 忢*/ 211$(function() { 212 $(".lxqhlr .group:first,.liangx li:first").addClass("commonmo"); 213 $(".liangx li").hover(function() { 214 $(".lxqhlr .group").hide().eq($(".liangx li").removeClass().index($(this).addClass("commonmo"))).show(); 215 }); 216}); 217 218 219// JavaScript Document 220 $(document).ready(function () { 221 222 //$(document).bind("contextmenu", function () { return false; }); 223 //$(document).bind("selectstart", function () { return false; }); 224 $(document).keydown(function () { return key(arguments[0]) }); 225 226 $(".one").each(function () { 227 var theSpan = $(this); 228 var theMenu = theSpan.find(".submenu"); 229 var tarHeight = theMenu.height(); 230 theMenu.css({ height: 0, opacity: 0 }); 231 theSpan.hover( 232 function () { 233 //$(this).addClass("selected"); //ie6ä¸å ¼å®¹ 234 //$(this).css("background", "url(/images/menu_bg_over.png)") 235 theSpan.find('.menuDiv').stop(true).animate({ opacity: 1.0 }, 200); 236 //$(this).css('opacity', 0.8);//å 䏿¾ç¤º 237 //$(this).stop().animate({opacity: '1'},800);//èæ¯æ·¡å ¥æ¾ç¤º 238 theMenu.stop().show().animate({ height: tarHeight, opacity: 0.9 }, 200); 239 }, 240 function () { 241 theSpan.find('.menuDiv').stop(true).animate({ opacity: 0 }, 200); 242 //$(this).css("background", "url(/images/menu_bg.png)") 243 theMenu.stop().animate({ height: 0, opacity: 0 }, 200, function () { 244 $(this).css({ display: "none" }); 245 }); 246 } 247 ); 248 }); 249 });
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.