1$.fn.tabs = function() { 2 var selector = this; 3 4 this.each(function() { 5 var obj = $(this); 6 7 $(obj.attr('href')).hide(); 8 9 obj.click(function() { 10 $(selector).removeClass('selected'); 11 12 $(this).addClass('selected'); 13 14 $($(this).attr('href')).fadeIn(); 15 16 $(selector).not(this).each(function(i, element) { 17 $($(element).attr('href')).hide(); 18 }); 19 20 return false; 21 }); 22 }); 23 24 $(this).show(); 25 26 $(this).first().click(); 27};
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.