|
@ -10,7 +10,7 @@ document.getElementById("icon").addEventListener("click", function menu() { |
|
|
} |
|
|
} |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
// show experiments submenu
|
|
|
|
|
|
|
|
|
// show hemp submenu
|
|
|
|
|
|
|
|
|
document.getElementById("chevron_1").addEventListener("click", function menu() { |
|
|
document.getElementById("chevron_1").addEventListener("click", function menu() { |
|
|
var x= document.getElementById("down_1"); |
|
|
var x= document.getElementById("down_1"); |
|
@ -22,7 +22,7 @@ document.getElementById("chevron_1").addEventListener("click", function menu() { |
|
|
} |
|
|
} |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
// permaculture submenu
|
|
|
|
|
|
|
|
|
// spider submenu
|
|
|
|
|
|
|
|
|
document.getElementById("chevron_2").addEventListener("click", function menu() { |
|
|
document.getElementById("chevron_2").addEventListener("click", function menu() { |
|
|
var x= document.getElementById("down_2"); |
|
|
var x= document.getElementById("down_2"); |
|
@ -34,7 +34,7 @@ document.getElementById("chevron_2").addEventListener("click", function menu() { |
|
|
} |
|
|
} |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
// greentech submenu
|
|
|
|
|
|
|
|
|
// offgrid submenu
|
|
|
|
|
|
|
|
|
document.getElementById("chevron_3").addEventListener("click", function menu() { |
|
|
document.getElementById("chevron_3").addEventListener("click", function menu() { |
|
|
var x= document.getElementById("down_3"); |
|
|
var x= document.getElementById("down_3"); |
|
@ -46,22 +46,10 @@ document.getElementById("chevron_3").addEventListener("click", function menu() { |
|
|
} |
|
|
} |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
// spiderpi submenu
|
|
|
|
|
|
|
|
|
// index
|
|
|
|
|
|
|
|
|
document.getElementById("chevron_4").addEventListener("click", function menu() { |
|
|
|
|
|
var x= document.getElementById("down_4"); |
|
|
|
|
|
if (x.style.display === "none") { |
|
|
|
|
|
x.style.display = "flex";} |
|
|
|
|
|
else { |
|
|
|
|
|
x.style.display ="none"; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
// about submenu
|
|
|
|
|
|
|
|
|
|
|
|
document.getElementById("chevron_5").addEventListener("click", function menu() { |
|
|
|
|
|
var x= document.getElementById("down_5"); |
|
|
|
|
|
|
|
|
document.getElementById("click").addEventListener("click", () => { |
|
|
|
|
|
var x = document.getElementById("show"); |
|
|
if (x.style.display === "none") { |
|
|
if (x.style.display === "none") { |
|
|
x.style.display = "flex";} |
|
|
x.style.display = "flex";} |
|
|
else { |
|
|
else { |
|
|