1$(document).ready(function() { 2 $('#partn div.cont-lf') 3 .mousedown( function(){ scrolling('right'); } ) 4 .mouseup( function(){ scrolling('stop'); } ); 5 6 $('#partn div.cont-rt') 7 .mousedown( function(){ scrolling('left'); } ) 8 .mouseup( function(){ scrolling('stop'); } ); 9 10$('#partn1 div.cont-top') 11 .mousedown( function(){ scrolling_main('bottom'); } ) 12 .mouseup( function(){ scrolling_main('stop'); } ); 13 14$('#partn1 div.cont-bot') 15 .mousedown( function(){ scrolling_main('top'); } ) 16 .mouseup( function(){ scrolling_main('stop'); } ); 17 18}); 19 20 21 22function scrolling(direction) 23{ 24 var br; 25 var nod = $('#partn div.scroller'); 26 if(direction == 'left') { 27 //br = '-932'; 28 br = '-1020'; 29 } 30 else if(direction == 'right') { 31 br = '0'; 32 } 33 else if (direction == 'stop') { 34 nod.stop(); 35 return; 36 } 37 nod.animate( { left: br+"px"}, 3000 ); 38} 39 40function scrolling_main(direction) 41{ 42 var br; 43 var nod = $('#partn1 div.scroller'); 44 if(direction == 'bottom') { 45 br = '-480'; 46 } 47 else if(direction == 'top') { 48 br = '0'; 49 } 50 else if (direction == 'stop') { 51 nod.stop(); 52 return; 53 } 54 nod.animate( { top: br+"px"}, 3000 ); 55} 56
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.