1 $(function() { 2 3 //When page loads... 4 $(".tab_content").hide(); //Hide all content 5 $("ul.tabs li:first").addClass("active").show(); //Activate first tab 6 $(".tab_content:first").show(); //Show first tab content 7 8 //On Click Event 9 $("ul.tabs li").click(function() { 10 11 $("ul.tabs li").removeClass("active"); //Remove any "active" class 12 $(this).addClass("active"); //Add "active" class to selected tab 13 $(".tab_content").hide(); //Hide all tab content 14 15 var activeTab = $(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content 16 $(activeTab).fadeIn(); //Fade in the active ID content 17 return false; 18 }); 19 20 });
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.