-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnav.js
57 lines (48 loc) · 881 Bytes
/
nav.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
count=1
let show=()=>{
console.log("working")
let close=document.querySelector(".close")
let home_page=document.querySelector(".landing_page")
count++;
if(count%2==0){
close.style.display="block"
home_page.style.display="none"
}
else{
close.style.display="none"
home_page.style.display="block"
}
}
count2=1
let down=()=>{
let close=document.querySelector(".dow")
count2++;
if(count2%2==0){
close.style.display="block"
}
else{
close.style.display="none"
}
}
count3=1
let down1=()=>{
let close=document.querySelector(".down1")
count2++;
if(count2%2==0){
close.style.display="block"
}
else{
close.style.display="none"
}
}
count4=1
let down2=()=>{
let close=document.querySelector(".down2")
count2++;
if(count2%2==0){
close.style.display="block"
}
else{
close.style.display="none"
}
}