1jQuery(document).ready(function() { 2 if( jQuery('.gfpc-lightbox').length ) { 3 gfpcLightbox(); 4 } 5}); 6 7function gfpcLightbox() { 8 jQuery('.gfpc-lightbox').each(function() { 9 var wrap_id = jQuery(this).attr('id'); 10 11 if (typeof wrap_id !== typeof undefined && wrap_id !== false) { 12 13 if( jQuery( '#' + wrap_id + ' .entry-title' ).length ) { 14 jQuery( '#' + wrap_id + ' .entry-title' ).each(function() { 15 jQuery(this).find('a').attr('rel', 'prettyPhoto['+ wrap_id + '-pt-link]'); 16 }); 17 18 jQuery( "#" + wrap_id + " .entry-title a[rel^='prettyPhoto']").prettyPhoto({ 19 animation_speed:'normal', 20 theme:'light_square' 21 }); 22 } 23 24 if( jQuery( '#' + wrap_id + ' .entry a > img' ).length ) { 25 jQuery( '#' + wrap_id + ' .entry > a').each(function() { 26 jQuery(this).attr('rel', 'prettyPhoto['+ wrap_id + '-img-link]'); 27 }); 28 29 jQuery( "#" + wrap_id + " .entry > a[rel^='prettyPhoto']").prettyPhoto({ 30 animation_speed:'normal', 31 theme:'light_square' 32 }); 33 } 34 35 }// end if 36 }); 37}
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.