1// tabbed content 2 // http://www.entheosweb.com/tutorials/css/tabs.asp 3 $(".tab_content").hide(); 4 $(".tab_content:first").show(); 5 6 /* if in tab mode */ 7 $("ul.tabs li").click(function() { 8 9 $(".tab_content").hide(); 10 var activeTab = $(this).attr("rel"); 11 $("#"+activeTab).fadeIn(); 12 13 $("ul.tabs li").removeClass("active"); 14 $(this).addClass("active"); 15 16 $(".tab_drawer_heading").removeClass("d_active"); 17 $(".tab_drawer_heading[rel^='"+activeTab+"']").addClass("d_active"); 18 19 }); 20 /* if in drawer mode */ 21 $(".tab_drawer_heading").click(function() { 22 23 $(".tab_content").hide(); 24 var d_activeTab = $(this).attr("rel"); 25 $("#"+d_activeTab).fadeIn(); 26 27 $(".tab_drawer_heading").removeClass("d_active"); 28 $(this).addClass("d_active"); 29 30 $("ul.tabs li").removeClass("active"); 31 $("ul.tabs li[rel^='"+d_activeTab+"']").addClass("active"); 32 }); 33 34 35 /* Extra class "tab_last" 36 to add border to right side 37 of last tab */ 38 $('ul.tabs li').last().addClass("tab_last");
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.