1jQuery(document).ready(function($){ 2 3// --------------------------------------------------------- 4// Tabs 5// --------------------------------------------------------- 6$(".tabs").each(function(){ 7 8 $(this).find(".tab").hide(); 9 $(this).find(".tab-menu li:first a").addClass("active").show(); 10 $(this).find(".tab:first").show(); 11 12}); 13 14$(".tabs").each(function(){ 15 16 $(this).find(".tab-menu a").click(function() { 17 18 $(this).parent().parent().find("a").removeClass("active"); 19 $(this).addClass("active"); 20 $(this).parent().parent().parent().parent().find(".tab").hide(); 21 var activeTab = $(this).attr("href"); 22 $(activeTab).fadeIn(); 23 return false; 24 25 }); 26 27}); 28 29 30// --------------------------------------------------------- 31// Toggle 32// --------------------------------------------------------- 33 34$(".toggle").each(function(){ 35 36 $(this).find(".box").hide(); 37 38}); 39 40$(".toggle").each(function(){ 41 42 $(this).find(".trigger").click(function() { 43 44 $(this).toggleClass("active").next().stop(true, true).slideToggle("normal"); 45 46 return false; 47 48 }); 49 50}); 51 52 53});
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.