1var marqueespeed2=1; 2var copyspeed2=marqueespeed2; 3 4function myScroll1() 5{ 6 if (parseInt(cross_marquee1.style.left)>actualwidth1) 7 cross_marquee1.style.left=parseInt(cross_marquee1.style.left)-copyspeed1+"px"; 8 else 9 cross_marquee1.style.left=parseInt(marqueewidth)+"px"; 10} 11 12function myScroll2() 13{ 14 if (parseInt(cross_marquee2.style.left)>actualwidth2) 15 cross_marquee2.style.left=parseInt(cross_marquee2.style.left)-copyspeed2+"px"; 16 else 17 cross_marquee2.style.left=parseInt(marqueewidth)+"px"; 18} 19 20function myScrollInit() 21{ 22// cross_marquee1=document.getElementById("marqd1"); 23// cross_marquee1.style.left="0px"; 24// actualwidth1=-cross_marquee1.offsetWidth; 25 26 cross_marquee2=document.getElementById("marqd2"); 27 //cross_marquee2.style.width = document.getElementById("marq_tmp").offsetWidth + "px"; 28 cross_marquee2.innerHTML = document.getElementById("marq_tmp").innerHTML; 29 var w=document.getElementById("marq_tmp").scrollWidth; 30 document.getElementById("marq_tmp").innerHTML = ""; 31// actualwidth2=-cross_marquee2.offsetWidth; 32 actualwidth2=-w; 33 34 marqueewidth = 980; 35 cross_marquee2.style.left=0+"px"; 36 37// setTimeout('setInterval("myScroll1()",15)', 1000); 38 setTimeout('setInterval("myScroll2()",30)', 1); 39} 40 41if(document.addEventListener)window.addEventListener('load', myScrollInit, false); else if(document.attachEvent)window.attachEvent('onload', myScrollInit);
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.