1jQuery(document).ready(function($) { 2 3 // initialize Isotope after all images have loaded 4 var $container = $('#allPrograms').imagesLoaded( function() { 5 $container.isotope({ 6 itemSelector: '.progItem', 7 layoutMode: 'fitRows', 8 stagger: 30 9 }); 10 }); 11 if(typeof filterthis !== 'undefined'){ 12 var $container = $('#allPrograms').imagesLoaded( function() { 13 14 console.log('filterthis = '+filterthis); 15 if(filterthis !== 'all'){ 16 var filterValue = '.'+filterthis; 17 }else{ 18 var filterValue = '*'; 19 } 20 21 $container.isotope({ filter: filterValue }); 22 }); 23 }; 24 25 26 // filter items on button click 27 $('#genreFilter').on( 'click', 'li', function() { 28 var filterValue = $(this).attr('data-filter'); 29 $container.isotope({ filter: filterValue }); 30 $('#genreFilter li').removeClass('active'); 31 $(this).addClass('active'); 32 }); 33 34 $('.readMore').click(function(){ 35 $('.discoDetail').slideUp(); 36 $('.readMore').show(); 37 $('.readLess').hide(); 38 $(this).nextAll('.readLess').show(); 39 $(this).nextAll('.discoDetail').slideDown('400','linear'); 40 $(this).hide(); 41 }); 42 43 $('.readLess').click(function(){ 44 $('.discoDetail').slideUp(); 45 $('.readMore').show(); 46 $('.readLess').hide(); 47 }); 48 49 50 51 52});
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.