1/* Author: JJ Coder, [email protected] */ 2var JJNGGUtils = { 3 4 wordpressThumbs: function(html_id, use_thumbs) { 5 var nivo_images = jQuery("div#" + html_id + " img.nivo_image"); 6 var src = null; 7 var i = null; 8 jQuery("div#" + html_id + " div.nivo-controlNav img").each(function(index, item) { 9 src = jQuery(nivo_images[index]).attr("src"); 10 if(use_thumbs) { 11 i = src.lastIndexOf("/"); 12 jQuery(item).attr("src", src.substr(0, i) + "/thumbs/thumbs_" + src.substr(i+1)); 13 }else{ 14 jQuery(item).attr("src", src); 15 } 16 }); 17 }, 18 19 wordpressThumbsCenterFix: function(html_id) { 20 jQuery("div#" + html_id + " div.nivo-controlNav img:first").addClass("first_thumb"); 21 } 22 23}
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.