1$(document).ready(function() { 2 jQuery.fn.lightTabs = function(options){ 3 4 var createTabs = function(){ 5 var tabs = this; 6 var i = 0; 7 8 var showPage = function(i){ 9 $(tabs).children("div").children("div").hide(); 10 $(tabs).children("div").children("div").eq(i).show(); 11 $(tabs).children("ul").children("li").removeClass("active"); 12 $(tabs).children("ul").children("li").eq(i).addClass("active"); 13 } 14 15 showPage(0); 16 17 $(tabs).children("ul").children("li").each(function(index, element){ 18 $(element).attr("data-page", i); 19 i++; 20 }); 21 22 $(tabs).children("ul").children("li").click(function(){ 23 showPage(parseInt($(this).attr("data-page"))); 24 }); 25 }; 26 return this.each(createTabs); 27 }; 28});
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.