-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathabout.js
166 lines (137 loc) · 5.05 KB
/
about.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
let roots1=document.getElementById("roots1")
let roots2=document.getElementById("roots2")
let king=document.getElementById("king")
let rani=document.getElementById("rani")
let our=document.getElementById("our")
let science=document.getElementById("science")
let about=document.getElementById("about")
let initia=document.getElementById("initia")
let initiav=document.getElementById("initiav")
let initiave=document.getElementById("initiave")
let initiatives=document.getElementById("initiatives")
let initiativesa=document.getElementById("initiativesa")
let frame=document.getElementById("frame")
function pagechange(){
let page=document.getElementById("page")
page.style.backgroundColor="#006666"
page.style.color="white"
root.style.backgroundColor="white"
root.style.color="#006666"
boy.style.backgroundColor="white"
boy.style.color="#006666"
next.style.backgroundColor="white"
next.style.color="#006666"
info.style.backgroundColor="white"
info.style.color="#006666"
roots1.style="display:block; display: grid;grid-template-columns: repeat(2,1fr);height:500px;"
roots2.style="display:block; display: grid;grid-template-columns: repeat(2,1fr);height:500px;"
king.style="display:none"
rani.style="display:none"
our.style="display:none"
about.style="display:none"
science.style="display:none"
initia.style="display:none"
initiav.style="display:none"
initiave.style="display:none"
initiatives.style="display:none"
initiativesa.style="display:none"
}
function nextpage(){
let next=document.getElementById("next")
next.style.backgroundColor="#006666"
next.style.color="white"
root.style.backgroundColor="white"
root.style.color="#006666"
boy.style.backgroundColor="white"
boy.style.color="#006666"
page.style.backgroundColor="white"
page.style.color="#006666"
info.style.backgroundColor="white"
info.style.color="#006666"
king.style="display:none"
rani.style="display:none"
roots1.style="display:none"
roots2.style="display:none"
about.style="display:none"
our.style="display:block; display: grid;grid-template-columns: repeat(2,1fr);height:700px;"
science.style="display:block; display: grid;grid-template-columns: repeat(2,1fr);height:500px;"
initia.style="display:none"
initiav.style="display:none"
initiave.style="display:none"
initiatives.style="display:none"
initiativesa.style="display:none"
}
function slide(){
let root=document.getElementById("root")
root.style.backgroundColor="#006666"
root.style.color="white"
page.style.backgroundColor="white"
page.style.color="#006666"
next.style.backgroundColor="white"
next.style.color="#006666"
boy.style.backgroundColor="white"
boy.style.color="#006666"
info.style.backgroundColor="white"
info.style.color="#006666"
king.style="display:none"
rani.style="display:none"
roots1.style="display:none"
roots2.style="display:none"
science.style="display:none"
our.style="display:none"
initia.style="display:none"
initiav.style="display:none"
initiave.style="display:none"
initiatives.style="display:none"
initiativesa.style="display:none"
about.style="display:block; display: grid;grid-template-columns: repeat(2,1fr);height:800px;"
}
function previous(){
let boy=document.getElementById("boy")
boy.style.backgroundColor="#006666"
boy.style.color="white"
root.style.backgroundColor="white"
root.style.color="#006666"
info.style.backgroundColor="white"
info.style.color="#006666"
page.style.backgroundColor="white"
page.style.color="#006666"
king.style="display:grid:grid-template-columns:repeat(2,1fr);height:800px;"
rani.style="display:grid:grid-template-columns:repeat(2,1fr);height:500px;"
roots1.style="display:none"
roots2.style="display:none"
science.style="display:none"
our.style="display:none"
about.style="display:none"
initia.style="display:none"
initiav.style="display:none"
initiave.style="display:none"
initiatives.style="display:none"
initiativesa.style="display:none"
}
function lastday(){
let page=document.getElementById("page")
page.style.backgroundColor="white"
page.style.color="#006666"
root.style.backgroundColor="white"
root.style.color="#006666"
boy.style.backgroundColor="white"
boy.style.color="#006666"
next.style.backgroundColor="white"
next.style.color="#006666"
info.style.backgroundColor="#006666"
info.style.color="white"
initia.style="display:grid:grid-template-columns:repeat(2,1fr);height:500px;"
roots1.style="display:none"
roots2.style="display:none"
science.style="display:none"
our.style="display:none"
about.style="display:none"
king.style="display:none"
rani.style="display:none"
initiav.style="display:grid:grid-template-columns:repeat(2,1fr);height:500px;"
initiave.style="display:grid:grid-template-columns:repeat(2,1fr);height:500px;"
initiatives.style="display:grid:grid-template-columns:repeat(2,1fr);height:500px;"
initiativesa.style="display:grid:grid-template-columns:repeat(2,1fr);height:500px;"
frame.style="display:grid:grid-template-columns:repeat(2,1fr);height:500px;"
}