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