1$(document).ready(function() { 2 if($('img.lightbox')){ 3 $('img.lightbox').each(function(){ 4 var $this = $(this); 5 var regImgGroupExists = new RegExp(/imgGrp\:([^ ]+)/); 6 var matches = false; 7 var imgGrp = ""; 8 if(matches = $this.attr('class').match(regImgGroupExists)){ 9 imgGrp = matches[1]; 10 imgGrp = "lightbox["+imgGrp+"]"; 11 } 12 $this.wrap('<a class="lightbox" rel="'+imgGrp+'" title="' + $this.attr('alt') + '" href="' + $this.attr('src') + '"></a>'); 13 $this.removeClass("lightbox"); 14 }); 15 } 16});
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.