1$(function(){ 2 3 /*主大å¾åæ¢*/ 4 5 $(".slick .news_list").slick({ 6 7 dots: true, //æç¤ºç¹ 8 9 infinite: true, //å¾ªç¯ææ¾ 10 11 autoplay: true, //èªå¨ææ¾ 12 13 autoplaySpeed:3000, //èªå¨ææ¾é´é 14 15 arrows: true, //å·¦å³ç®å¤´ 16 17 useCSS: true, //ä½¿ç¨ CSS3 è¿åº¦ 18 19 speed: 600, //æ»å¨æ¶é´ 20 21 fade:true, 22 23 slide: 'div', //æ»å¨å ç´ æ¥è¯¢ 24 25 slidesToShow: 1, //å¹»ç¯çæ¯å±æ¾ç¤ºä¸ªæ° 26 27 slidesToScroll: 1, //å¹»ç¯çæ¯æ¬¡æ»å¨ä¸ªæ° 28 29 responsive: [ //æç¹è§¦å设置 30 31 { 32 33 breakpoint: 767, //å辨çä¹ä¸(ä¸å å«è®¾ç½®åè¾¨çæ¬èº«) 34 35 settings: { //åæ°è®¾ç½® 36 37 slide: 'div', //æ»å¨å ç´ æ¥è¯¢ 38 39 slidesToShow: 1, //å¹»ç¯çæ¯å±æ¾ç¤ºä¸ªæ° 40 41 slidesToScroll: 1, //å¹»ç¯çæ¯æ¬¡æ»å¨ä¸ªæ° 42 43 arrows: false, 44 45 dots:true, 46 47 infinite: true //å¾ªç¯ææ¾ 48 49 } 50 51 } 52 53 ] 54 55 }); 56 57 58 59 if (window.addEventListener){ 60 61 window.addEventListener('DOMMouseScroll', wheel, false); 62 63 window.onmousewheel = document.onmousewheel = wheel;//W3C 64 65 } 66 67 function wheel(event){ 68 69 var delta = 0; 70 71 if (!event) event = window.event; 72 73 if (event.wheelDelta) {//IEãchromeæµè§å¨ä½¿ç¨çæ¯wheelDeltaï¼å¹¶ä¸å¼ä¸ºâæ£è´120â 74 75 delta = event.wheelDelta/120; 76 77 if (window.opera) delta = -delta;//å 为IEãchromeçå䏿»å¨æ¯è´å¼ï¼FFæ¯æ£å¼ï¼ä¸ºäºå¤çä¸è´æ§ï¼å¨æ¤ååå¤ç 78 79 } else if (event.detail) {//FFæµè§å¨ä½¿ç¨çæ¯detail,å ¶å¼ä¸ºâæ£è´3â 80 81 delta = -event.detail/3; 82 83 } 84 85 if (delta){ 86 87 handle(delta); 88 89 } 90 91 } 92 93 //ä¸ä¸æ»å¨æ¶çå ·ä½å¤ç彿° 94 95 function handle(delta) { 96 97 if (delta <0){//å䏿»å¨ 98 99 if($(".body_b").scrollTop()==0){ 100 101 $("#header").addClass("inf"); 102 103 $(".body_b").addClass("inf"); 104 105 $(".cn_fl").addClass("tno"); 106 107 $(".cn_fr").addClass("tno"); 108 109 } 110 111 }else{ 112 113 if($(".body_b").scrollTop()==0){ 114 115 $("#header").removeClass("inf"); 116 117 $(".body_b").removeClass("inf"); 118 119 $(".cn_fl").removeClass("tno"); 120 121 $(".cn_fr").removeClass("tno"); 122 123 } 124 125 } 126 127 } 128 129if($(window).width()>1000){ 130 131 $("#banner .lp").click(function(){ 132 133 $("#header").addClass("inf"); 134 135 $(".body_b").addClass("inf"); 136 137 $(".cn_fl").addClass("tno"); 138 139 $(".cn_fr").addClass("tno"); 140 141 }); 142 143 $(".body_b").scroll(function(){ 144 145 if($(".body_b").scrollTop()>2900){ 146 147 setTimeout(function () { 148 149 $("#footer .inner .foot-left").removeClass("tno"); 150 151 }, 100); 152 153 setTimeout(function () { 154 155 $("#footer .inner .foot-right").removeClass("tno"); 156 157 }, 300); 158 159 $(".contain_links .e .news_list").addClass("tno"); 160 161 }else if($(".body_b").scrollTop()>2300){ 162 163 $(".contain_links .e .news_list").removeClass("tno"); 164 165 $(".contain_links .d .box").addClass("tno"); 166 167 }else if($(".body_b").scrollTop()>1800){ 168 169 $(".contain_links .d .box").removeClass("tno"); 170 171 }else if($(".body_b").scrollTop()>500){ 172 173 $(".info .mox").addClass("tno"); 174 175 }else if($(".body_b").scrollTop()>150){ 176 177 $(".info .mox").removeClass("tno"); 178 179 setTimeout(function () { 180 181 $(".tech .tt").addClass("tno"); 182 183 }, 100); 184 185 setTimeout(function () { 186 187 $(".tech .mox .news:nth-child(1)").addClass("tno"); 188 189 }, 200); 190 191 setTimeout(function () { 192 193 $(".tech .mox .news:nth-child(2)").addClass("tno"); 194 195 }, 300); 196 197 setTimeout(function () { 198 199 $(".tech .mox .news:nth-child(3)").addClass("tno"); 200 201 }, 400); 202 203 }else{ 204 205 setTimeout(function () { 206 207 $(".tech .tt").removeClass("tno"); 208 209 }, 100); 210 211 setTimeout(function () { 212 213 $(".tech .mox .news:nth-child(1)").removeClass("tno"); 214 215 }, 200); 216 217 setTimeout(function () { 218 219 $(".tech .mox .news:nth-child(2)").removeClass("tno"); 220 221 }, 300); 222 223 setTimeout(function () { 224 225 $(".tech .mox .news:nth-child(3)").removeClass("tno"); 226 227 }, 400); 228 229 } 230 231 }); 232 233}else{ 234 235 236 237} 238 239 240 241 $(".search_i").click(function(){ 242 243 $(".search_list").slideToggle(250); 244 245 }) 246 247 $(".list_items").click(function(){ 248 249 var vf = $(this).text(); 250 251 $(".search_i").text(vf); 252 253 $(".search_list").slideUp(250); 254 255 }); 256 257 258 259 $('.search_btn').click(function() { 260 261 if($('.search_i').text() != 'æ¥çç±»å«'){ 262 263 var student= ""; 264 265 var project = escape($('.search_i').text()); 266 267 var subject = ''; 268 269 window.location.href = '/_s3/xyxw/list.psp?student=' + student + '&project=' + project + '&subject=' + subject; 270 271 }else{alert("è¯·éæ©ç±»å«ï¼")} 272 273 }); 274 275 276 277 $(function () { 278 279 var month = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "July", "Aug", "Sep", "Oct", "Nov", "Dec"]; 280 281 $(".cn_fl .news_month").each(function () { 282 283 for (var i = 0; i <= month.length;i++) { 284 285 if ($(this).text() == i.toString()) { 286 287 $(this).text(month[i-1]); 288 289 } 290 291 } 292 293 });
294 295 }); 296 297 $(function () { 298 299 var month = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "July", "Aug", "Sep", "Oct", "Nov", "Dec"]; 300 301 $(".cn_fr .news_month").each(function () { 302 303 for (var i = 0; i <= month.length;i++) { 304 305 if ($(this).text() == i.toString()) { 306 307 $(this).text(month[i-1]); 308 309 } 310 311 } 312 313 }); 314 315 }); 316 317 318 319 $(".tab_title").click(function(){ 320 321 $(this).siblings().removeClass("active"); 322 323 $(this).addClass("active"); 324 325 var $index = $(this).index(); 326 327 $(".tab_in").eq($index).siblings().removeClass("active"); 328 329 $(".tab_in").eq($index).addClass("active"); 330 331 }); 332 333 $(".e .news_info a").attr("href","javascript:void(0);") 334 335 $(".e .news_info a").attr("target","_self") 336 337 338 339 $(".tech .mox .news").mouseenter(function(){ 340 341 $(this).addClass("hover"); 342 343 }); 344 345 $(".tech .mox .news").mouseleave(function(){ 346 347 $(this).removeClass("hover"); 348 349 }); 350 351 352 353 function heiver (){ 354 355 $(".sez.tech .news_title a").each(function(){ 356 357 if($(this).height()<56){ 358 359 $(this).css("line-height","60px"); 360 361 } 362 363 }) 364 365 } 366 367 heiver(); 368 369 //$(".tech.sez:first-child .news_timed").each(function(){var $aaa = $(this).text().split("-")[2].split(" ")[0];$(this).text($aaa);}) 370 371 //$(".tech.sez:first-child .news_timem").each(function(){var $bbb= $(this).text().split("-")[1].split("0")[1];$(this).text($bbb+'æ');}) 372 373});
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.