44 lines
1.6 KiB
JavaScript
44 lines
1.6 KiB
JavaScript
function onclick1() {
|
|
var click = document.getElementById("arrow1");
|
|
click.classList.toggle("mystyle");
|
|
var expand = document.getElementById("listExpand1");
|
|
expand.classList.toggle("expand");
|
|
var appear = document.getElementById("roko1");
|
|
appear.classList.toggle("appear");
|
|
}
|
|
function onclick2() {
|
|
var click = document.getElementById("arrow2");
|
|
click.classList.toggle("mystyle");
|
|
var expand = document.getElementById("listExpand2");
|
|
expand.classList.toggle("expand");
|
|
var appear = document.getElementById("roko2");
|
|
appear.classList.toggle("appear");
|
|
}
|
|
function onclick3() {
|
|
var click = document.getElementById("arrow3");
|
|
click.classList.toggle("mystyle");
|
|
var expand = document.getElementById("listExpand3");
|
|
expand.classList.toggle("expand");
|
|
var appear = document.getElementById("roko3");
|
|
appear.classList.toggle("appear");
|
|
}
|
|
function onclick4() {
|
|
var click = document.getElementById("arrow4");
|
|
click.classList.toggle("mystyle");
|
|
var expand = document.getElementById("listExpand4");
|
|
expand.classList.toggle("expand");
|
|
var appear = document.getElementById("roko4");
|
|
appear.classList.toggle("appear");
|
|
}
|
|
function onclick5() {
|
|
var click = document.getElementById("arrow5");
|
|
click.classList.toggle("mystyle");
|
|
var expand = document.getElementById("listExpand5");
|
|
expand.classList.toggle("expand");
|
|
var appear = document.getElementById("roko5");
|
|
appear.classList.toggle("appear");
|
|
}
|
|
function bmenu() {
|
|
var burger = document.getElementById("bonger");
|
|
burger.classList.toggle("appear")
|
|
} |