1$(function() { 2 var ias = jQuery.ias({ 3 container: '.tx_animalsmemorial', 4 item: '.item', 5 pagination: '.f3-widget-paginator', 6 next: '.next a', 7 delay: 1000, 8 negativeMargin: 700 9 }); 10 11 ias.extension(new IASSpinnerExtension({ 12 html: '<div class="ias-spinner"><img src="{src}"/><br />Loading the next set of projects.</div>' 13 })); 14 $('.filter-col .toggle').click(function() { 15 $('.filter-col .categories').toggle('slow'); 16 }); 17 18 $isotopeContainer = $('.tx_animalsmemorial'); 19 $isotopeContainer.imagesLoaded(function() { 20 $isotopeContainer.isotope({ 21 // main isotope options 22 itemSelector: '.item', 23 // set layoutMode 24 //layoutMode: 'masonry', 25 layoutMode: 'fitRows', 26 percentPosition: true, 27 masonry: { 28 // use element for option 29 columnWidth: '.grid-sizer' 30 }, 31 // disable scale transform transition when hiding 32 hiddenStyle: { 33 opacity: 0 34 }, 35 visibleStyle: { 36 opacity: 1 37 }, 38 transitionDuration: '0.8s' 39 }) 40 }); 41 42 43// Trigger Masonry as a callback 44 ias.on('rendered', function(items) { 45 // hide new items while they are loading 46 var $newElems = $( items ).css({ opacity: 0 }); 47 // ensure that images load before adding to masonry layout 48 $newElems.imagesLoaded(function() { 49 $newElems.animate({opacity: 1}); 50 $isotopeContainer.isotope('appended', $newElems); 51 }); 52 }); 53});
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.