1//--><![CDATA[//><!-- 2 //å¾çæ»å¨å表 mengjia 070816 3 var liwd = $("#List1 .pic").outerWidth(); 4 //$(".rollPro .Cont").css("width",4*liwd); 5 var Speed = 10; //é度(毫ç§) 6 var Space = 10; //æ¯æ¬¡ç§»å¨(px) 7 var PageWidth = liwd; //翻页宽度 8 var fill = 0; //æ´ä½ç§»ä½ 9 var MoveLock = false; 10 var MoveTimeObj; 11 var Comp = 0; 12 var AutoPlayObj = null; 13 GetObj("List2").innerHTML = GetObj("List1").innerHTML; 14 GetObj('ISL_Cont').scrollLeft = fill; 15 GetObj("ISL_Cont").onmouseover = function(){clearInterval(AutoPlayObj);} 16 GetObj("ISL_Cont").onmouseout = function(){AutoPlay();} 17 AutoPlay(); 18 function GetObj(objName){if(document.getElementById){return eval('document.getElementById("'+objName+'")')}else{return eval 19 20 ('document.all.'+objName)}} 21 function AutoPlay(){ //èªå¨æ»å¨ 22 clearInterval(AutoPlayObj); 23 AutoPlayObj = setInterval('ISL_GoDown();ISL_StopDown();',3000); //é´éæ¶é´ 24 } 25 function ISL_GoUp(){ //ä¸ç¿»å¼å§ 26 if(MoveLock) return; 27 clearInterval(AutoPlayObj); 28 MoveLock = true; 29 MoveTimeObj = setInterval('ISL_ScrUp();',Speed); 30 } 31 function ISL_StopUp(){ //ä¸ç¿»åæ¢ 32 clearInterval(MoveTimeObj); 33 if(GetObj('ISL_Cont').scrollLeft % PageWidth - fill != 0){ 34 Comp = fill - (GetObj('ISL_Cont').scrollLeft % PageWidth); 35 CompScr(); 36 }else{ 37 MoveLock = false; 38 } 39 AutoPlay(); 40 } 41 function ISL_ScrUp(){ //ä¸ç¿»å¨ä½ 42 if(GetObj('ISL_Cont').scrollLeft <= 0){GetObj('ISL_Cont').scrollLeft = GetObj 43 44 ('ISL_Cont').scrollLeft + GetObj('List1').offsetWidth} 45 GetObj('ISL_Cont').scrollLeft -= Space ; 46 } 47 function ISL_GoDown(){ //ä¸ç¿» 48 clearInterval(MoveTimeObj); 49 if(MoveLock) return; 50 clearInterval(AutoPlayObj); 51 MoveLock = true; 52 ISL_ScrDown(); 53 MoveTimeObj = setInterval('ISL_ScrDown()',Speed); 54 } 55 function ISL_StopDown(){ //ä¸ç¿»åæ¢ 56 clearInterval(MoveTimeObj); 57 if(GetObj('ISL_Cont').scrollLeft % PageWidth - fill != 0 ){ 58 Comp = PageWidth - GetObj('ISL_Cont').scrollLeft % PageWidth + fill; 59 CompScr(); 60 }else{ 61 MoveLock = false; 62 } 63 AutoPlay(); 64 } 65 function ISL_ScrDown(){ //ä¸ç¿»å¨ä½ 66 if(GetObj('ISL_Cont').scrollLeft >= GetObj('List1').scrollWidth){GetObj('ISL_Cont').scrollLeft = 67 68 GetObj('ISL_Cont').scrollLeft - GetObj('List1').scrollWidth;} 69 GetObj('ISL_Cont').scrollLeft += Space ; 70 } 71 function CompScr(){ 72 var num; 73 if(Comp == 0){MoveLock = false;return;} 74 if(Comp < 0){ //ä¸ç¿» 75 if(Comp < -Space){ 76 Comp += Space; 77 num = Space; 78 }else{ 79 num = -Comp; 80 Comp = 0; 81 } 82 GetObj('ISL_Cont').scrollLeft -= num; 83 setTimeout('CompScr()',Speed); 84 }else{ //ä¸ç¿» 85 if(Comp > Space){ 86 Comp -= Space; 87 num = Space; 88 }else{ 89 num = Comp; 90 Comp = 0; 91 } 92 GetObj('ISL_Cont').scrollLeft += num; 93 setTimeout('CompScr()',Speed); 94 } 95 } 96 //--><!]]>
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.