1 2jQuery(document).ready(function() { 3// 4jQuery('.grid-item').addClass('visible'); 5// 6 7var $grid = jQuery('.grid').imagesLoaded( function() { 8 // init Isotope after all images have loaded 9 $grid.isotope({ 10 itemSelector: '.grid-item', 11 percentPosition: true, 12 masonry: { 13 columnWidth: '.grid-sizer' 14 } 15 }); 16}); 17 18$grid.infinitescroll({ 19 navSelector : '.nav-links', // selector for the paged navigation 20 nextSelector : '.nav-links a', // selector for the NEXT link (to page 2) 21 itemSelector : '.grid-item', // selector for all items you'll retrieve 22 loading: { 23 msgText: 'wird geladen...', 24 finishedMsg: 'keine weiteren Einträge', 25 img: 'https://i.imgur.com/qkKy8.gif' 26 } 27 }, 28 // call Isotope as a callback 29 function(newElements) { 30 var $newElems = jQuery(newElements); 31 $newElems.imagesLoaded(function(){ 32 setTimeout(function(){ 33 $grid.isotope('appended', $newElems ); 34 jQuery('.grid-item').addClass('visible'); 35 }, 300); 36 }); 37}); 38 39// 40});
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.