1jQuery(document).ready(function($){ 2 $('.sp-body img').each(function() { 3 $(this).attr({ 4 alt: $(this).attr('src'), 5 src: smf_default_theme_url + '/images/loading.gif' 6 }); 7 }); 8 $("body").on("click", ".sp-head", function(event){ 9 $this = $(this); 10 if ($this.hasClass("unfolded")) { 11 $this.removeClass("unfolded"); 12 $this.next().slideUp("fast"); 13 $this.next().addClass("folded"); 14 } else { 15 $this.addClass("unfolded"); 16 $this.next().slideDown("fast"); 17 $this.next().removeClass("folded"); 18 } 19 c = $this.parent().children('.sp-body'); 20 c.find('img').each(function() { 21 $(this).attr('src', $(this).attr('alt')); 22 }); 23 }); 24 $("body").on("click", ".sp-foot", function(event){ 25 $this = $(this).closest("div.sp-body").prev(); 26 if ($this.hasClass("unfolded")) { 27 $this.removeClass("unfolded"); 28 $this.next().slideUp("fast"); 29 $this.next().addClass("folded"); 30 } 31 }); 32});
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.