1// MENU NAVBAR 2function myFunction() { 3 var x = document.getElementById("navBar"); 4 if (x.className.indexOf("w3-show") == -1) { 5 x.className += " w3-show"; 6 } else { 7 x.className = x.className.replace(" w3-show", ""); 8 } 9} 10function w3_close() { 11 document.getElementById("navBar").style.display = "none"; 12} 13// MENU DROP DOWN 14function myFunctionDropdownAssociazione() { 15 document.getElementById("CheCosaFacciamo").classList.remove("w3-show"); 16 document.getElementById("AdottaGatto").classList.remove("w3-show"); 17 document.getElementById("Rifugio").classList.remove("w3-show"); 18 document.getElementById("Sostienici").classList.remove("w3-show"); 19 document.getElementById("CosaPuoiFare").classList.remove("w3-show"); 20 document.getElementById("LascitoTestamento").classList.remove("w3-show"); 21 document.getElementById("Magazine").classList.remove("w3-show"); 22 23 var x = document.getElementById("Associazione"); 24 if (x) { 25 if (x.className.indexOf("w3-show") == -1) { 26 x.className += " w3-show"; 27 } else { 28 x.className = x.className.replace(" w3-show", ""); 29 } 30 } 31} 32function myFunctionDropdownCheCosaFacciamo() { 33 document.getElementById("Associazione").classList.remove("w3-show"); 34 document.getElementById("AdottaGatto").classList.remove("w3-show"); 35 document.getElementById("Rifugio").classList.remove("w3-show"); 36 document.getElementById("Sostienici").classList.remove("w3-show"); 37 document.getElementById("CosaPuoiFare").classList.remove("w3-show"); 38 document.getElementById("LascitoTestamento").classList.remove("w3-show"); 39 document.getElementById("Magazine").classList.remove("w3-show"); 40 41 var x = document.getElementById("CheCosaFacciamo"); 42 if (x) { 43 if (x.className.indexOf("w3-show") == -1) { 44 x.className += " w3-show"; 45 } else { 46 x.className = x.className.replace(" w3-show", ""); 47 } 48 } 49} 50function myFunctionDropdownAdottaGatto() { 51 document.getElementById("Associazione").classList.remove("w3-show"); 52 document.getElementById("CheCosaFacciamo").classList.remove("w3-show"); 53 document.getElementById("Rifugio").classList.remove("w3-show"); 54 document.getElementById("Sostienici").classList.remove("w3-show"); 55 document.getElementById("CosaPuoiFare").classList.remove("w3-show"); 56 document.getElementById("LascitoTestamento").classList.remove("w3-show"); 57 document.getElementById("Magazine").classList.remove("w3-show"); 58 59 var x = document.getElementById("AdottaGatto"); 60 if (x) { 61 if (x.className.indexOf("w3-show") == -1) { 62 x.className += " w3-show"; 63 } else { 64 x.className = x.className.replace(" w3-show", ""); 65 } 66 } 67} 68function myFunctionDropdownRifugio() { 69 document.getElementById("Associazione").classList.remove("w3-show"); 70 document.getElementById("CheCosaFacciamo").classList.remove("w3-show"); 71 document.getElementById("AdottaGatto").classList.remove("w3-show"); 72 document.getElementById("Sostienici").classList.remove("w3-show"); 73 document.getElementById("CosaPuoiFare").classList.remove("w3-show"); 74 document.getElementById("LascitoTestamento").classList.remove("w3-show"); 75 document.getElementById("Magazine").classList.remove("w3-show"); 76 77 var x = document.getElementById("Rifugio"); 78 if (x) { 79 if (x.className.indexOf("w3-show") == -1) { 80 x.className += " w3-show"; 81 } else { 82 x.className = x.className.replace(" w3-show", ""); 83 } 84 } 85} 86function myFunctionDropdownSostienici() { 87 document.getElementById("Associazione").classList.remove("w3-show"); 88 document.getElementById("CheCosaFacciamo").classList.remove("w3-show"); 89 document.getElementById("AdottaGatto").classList.remove("w3-show"); 90 document.getElementById("Rifugio").classList.remove("w3-show"); 91 document.getElementById("CosaPuoiFare").classList.remove("w3-show"); 92 document.getElementById("LascitoTestamento").classList.remove("w3-show"); 93 document.getElementById("Magazine").classList.remove("w3-show"); 94 95 var x = document.getElementById("Sostienici"); 96 if (x) { 97 if (x.className.indexOf("w3-show") == -1) { 98 x.className += " w3-show"; 99 } else { 100 x.className = x.className.replace(" w3-show", ""); 101 } 102 } 103} 104function myFunctionDropdownCosaPuoiFare() { 105 document.getElementById("Associazione").classList.remove("w3-show"); 106 document.getElementById("CheCosaFacciamo").classList.remove("w3-show"); 107 document.getElementById("AdottaGatto").classList.remove("w3-show"); 108 document.getElementById("Rifugio").classList.remove("w3-show"); 109 document.getElementById("Sostienici").classList.remove("w3-show"); 110 document.getElementById("LascitoTestamento").classList.remove("w3-show"); 111 document.getElementById("Magazine").classList.remove("w3-show"); 112 113 var x = document.getElementById("CosaPuoiFare"); 114 if (x) { 115 if (x.className.indexOf("w3-show") == -1) { 116 x.className += " w3-show"; 117 } else { 118 x.className = x.className.replace(" w3-show", ""); 119 } 120 } 121} 122function myFunctionDropdownLascitoTestamento() { 123 document.getElementById("Associazione").classList.remove("w3-show"); 124 document.getElementById("CheCosaFacciamo").classList.remove("w3-show"); 125 document.getElementById("AdottaGatto").classList.remove("w3-show"); 126 document.getElementById("Rifugio").classList.remove("w3-show"); 127 document.getElementById("Sostienici").classList.remove("w3-show"); 128 document.getElementById("CosaPuoiFare").classList.remove("w3-show"); 129 document.getElementById("Magazine").classList.remove("w3-show"); 130 131 var x = document.getElementById("LascitoTestamento"); 132 if (x) { 133 if (x.className.indexOf("w3-show") == -1) { 134 x.className += " w3-show"; 135 } else { 136 x.className = x.className.replace(" w3-show", ""); 137 } 138 } 139} 140function myFunctionDropdownMagazine() { 141 document.getElementById("Associazione").classList.remove("w3-show"); 142 document.getElementById("CheCosaFacciamo").classList.remove("w3-show"); 143 document.getElementById("AdottaGatto").classList.remove("w3-show"); 144 document.getElementById("Rifugio").classList.remove("w3-show"); 145 document.getElementById("Sostienici").classList.remove("w3-show"); 146 document.getElementById("CosaPuoiFare").classList.remove("w3-show"); 147 document.getElementById("LascitoTestamento").classList.remove("w3-show"); 148 149 var x = document.getElementById("Magazine"); 150 if (x) { 151 if (x.className.indexOf("w3-show") == -1) { 152 x.className += " w3-show"; 153 } else { 154 x.className = x.className.replace(" w3-show", ""); 155 } 156 } 157} 158// ACCORDION 159document.addEventListener("DOMContentLoaded", function () { 160 var acc = document.getElementsByClassName("accordion"); 161 for (let i = 0; i < acc.length; i++) { 162 acc[i].addEventListener("click", function () { 163 this.classList.toggle("active"); 164 var panel = this.nextElementSibling; 165 166 if (panel.style.maxHeight) { 167 panel.style.maxHeight = null; 168 } else { 169 panel.style.maxHeight = panel.scrollHeight + "px"; 170 } 171 }); 172 173 var panel = acc[i].nextElementSibling; 174 if (acc[i].classList.contains("active")) { 175 panel.style.maxHeight = panel.scrollHeight + "px"; 176 } else { 177 panel.style.maxHeight = null; 178 } 179 } 180});
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.