1 2 $(document).ready(function(){ 3 if($isMobile == false && $('#allrecords').attr('data-blocks-animationoff')!=='yes'){ 4 //add animation 5 var tiles = $(".r").not('[data-animationappear=off]'), 6 wnd = $(window); 7 tiles.each(function(i) { 8 a = $(this).offset().top; 9 b = wnd.scrollTop() + wnd.height() + 300 ; 10 if (a > 1000 && a > b ) $(this).fadeTo(0,0); 11 }); 12 function blocksfade(){ 13 if(tiles.length){ 14 for(var i = tiles.length - 1, tile, a, b; i >= 0; i--){ 15 tile = $(tiles[i]); 16 a = tile.offset().top; 17 b = wnd.scrollTop() + wnd.height() - 100; 18 if(a < b){ 19 tile.fadeTo(500, 1, function() {}); 20 tiles.splice(i, 1); 21 } 22 } 23 }else{ 24 wnd.unbind('scroll', blocksfade); 25 } 26 } 27 wnd.bind('scroll', blocksfade); 28 blocksfade(); 29 } 30 }); 31 32 function blocksdisplay(){ 33 var window_width = $(window).width(); 34 var recs = $('div.r[data-screen-max], div.r[data-screen-min]'); 35 var max,min; 36 var disp; 37 recs.each(function(i) { 38 disp = $(this).css("display"); 39 max = $(this).attr("data-screen-max"); 40 if( max === undefined)max=10000; 41 max = parseInt(max); 42 43 min = $(this).attr("data-screen-min"); 44 if( min === undefined)min=0; 45 min = parseInt(min); 46 console.log(min+"-"+max); 47 if(min<=max){ 48 if (window_width <= max && window_width > min) { 49 if(disp!="block")$(this).css("display","block"); 50 }else{ 51 if(disp!="none")$(this).css("display","none"); 52 } 53 } 54 }); 55 } 56 $(document).ready(function(){ 57 blocksdisplay(); 58 }); 59 $(window).resize(function() { 60 blocksdisplay(); 61 }); 62 blocksdisplay(); 63 64 65 $(document).ready(function() { 66 t461_highlight(); 67 }); 68 $(window).resize(function() { 69 t461_setBg('9266707'); 70 }); 71 $(document).ready(function() { 72 t461_setBg('9266707'); 73 }); 74 $(document).ready(function() { 75 t351_setSize('9276203'); 76 }); 77 $('.t351').bind('displayChanged',function(){ 78 t351_setSize('9276203'); 79 }); 80 $(window).resize(function() { 81 t351_setSize('9276203'); 82 });
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.