1$(document).ready(function() { 2 3 $(".fa-search").click(function() { 4 $(".togglesearch").toggle(); 5 $("input[type='text']").focus(); 6 }); 7 8}); 9 10 11// accordion 2 js 12 13$(document).ready(function(){ 14 // Add minus icon for collapse element which is open by default 15 $(".collapse.show").each(function(){ 16 $(this).prev(".card-header").find(".faa").addClass("fa-angle-down").removeClass("fa-angle-right"); 17 }); 18 19 // Toggle plus minus icon on show hide of collapse element 20 $(".collapse").on('show.bs.collapse', function(){ 21 $(this).prev(".card-header").find(".faa").removeClass("fa-angle-right").addClass("fa-angle-down"); 22 }).on('hide.bs.collapse', function(){ 23 $(this).prev(".card-header").find(".faa").removeClass("fa-angle-down").addClass("fa-angle-right"); 24 }); 25}); 26 27 28 29 30$(document).ready(function() { 31 32$('.collapse').on('shown.bs.collapse', function () { 33$(this).parent(".card").addClass('cactive'); 34}); 35 36$('.collapse').on('hidden.bs.collapse', function () { 37$(this).parent(".card").removeClass('cactive'); 38}); 39 40//$('.modal, .opn_mdl').modal('show'); 41}); 42 43//thank u modal js 44 45 46 47//tab js 48 49 50const tabs = document.querySelector(".cu_tab .wrapper"); 51const tabButton = document.querySelectorAll(".cu_tab .tab-button"); 52const contents = document.querySelectorAll(".cu_tab .content"); 53 54if(tabs!=null) 55 { 56tabs.onclick = e => { 57 const id = e.target.dataset.id; 58 if (id) { 59 tabButton.forEach(btn => { 60 btn.classList.remove("active"); 61 }); 62 e.target.classList.add("active"); 63 64 contents.forEach(content => { 65 content.classList.remove("active"); 66 }); 67 const element = document.getElementById(id); 68 element.classList.add("active"); 69 } 70} 71 72}
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.