1(function( $ ) { 2 3 $( document ).ready(function() { 4 5 $( '.tilesWall.btGridGallery' ).each(function() { 6 var $c = $( this ); 7 $c.find( '.gridItem' ).css( 'opacity', '1' ); 8 $c.imagesLoaded(function() { 9 $c.packery({ 10 itemSelector: '.gridItem', 11 columnWidth: '.gridSizer', 12 gutter: 0, 13 percentPosition: true, 14 transitionDuration: 0, 15 isResizeBound: false 16 }); 17 bt_packery_tweak( $c, 'tiled' ); 18 /*setTimeout(function() { 19 bt_packery_tweak( $c, 'tiled' ); 20 }, 150 );*/ 21 }); 22 }); 23 }); 24 25 $( window ).load(function() { 26 $( '.tilesWall.btGridGallery' ).each(function() { 27 var $c = $( this ); 28 $c.find( '.gridItem' ).css( 'opacity', '1' ); 29 bt_packery_tweak( $c, 'tiled' ); 30 setTimeout(function() { 31 bt_packery_tweak( $c, 'tiled' ); 32 }, 150 ); 33 }); 34 }); 35 36 $( window ).resize(function() { 37 $( '.tilesWall.btGridGallery' ).each(function() { 38 var $c = $( this ); 39 bt_packery_tweak( $c, 'tiled' ); 40 setTimeout(function() { 41 bt_packery_tweak( $c, 'tiled' ); 42 }, 150 ); 43 }); 44 }); 45 46})( jQuery );
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.