-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeditationSection.html
198 lines (185 loc) · 8.73 KB
/
meditationSection.html
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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Meditation Section</title>
<link rel="icon" type="image/x-icon" href="images/logo.png">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="timer/style.css">
<script src="timer/script.js" defer></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body style="height: 100%">
<div class="nav_bar">
<a href="dashboard.html" class="active"><img class="bimg" src="images/back.png" alt="Header animal" class="img"></a>
<a class="icon" onclick="myFunction()"><i class="fa fa-bars"></i></a>
</div>
<div class="menu_section">
<a class="icon" onclick="myFunction()"><i class="fa fa-bars"></i></a>
<div class="details">
<table class="">
<tr>
<th>
<a href="chatbot/index.html" style="text-decoration: none; color: black;">
<table class="menu_options">
<tr>
<td class="menu_img" width="45%"><img src="images/chat.png"></td>
<td><p>Chat with me</p></td></a>
</tr>
</table>
</a>
</th>
</tr>
<tr>
<th>
<a href="yogaSection.html" style="text-decoration: none; color: black;">
<table class="menu_options">
<tr>
<td class="menu_img" width="45%"><img src="images/yoga.png"></td>
<td><p>Yoga</p></td></a>
</tr>
</table>
</a>
</th>
</tr>
<tr>
<th>
<a href="gameSection.html" style="text-decoration: none; color: black;">
<table class="menu_options">
<tr>
<td class="menu_img" width="45%"><img src="images/game.png"></td>
<td><p>Games for you</p></td></a>
</tr>
</table>
</a>
</th>
</tr>
<tr>
<th>
<a href="readingSection.html" style="text-decoration: none; color: black;">
<table class="menu_options">
<tr>
<td class="menu_img" width="45%"><img src="images/reading.png"></td>
<td><p>Reading Time</p></td></a>
</tr>
</table>
</a>
</th>
</tr>
<tr>
<th>
<a href="meditationSection.html" style="text-decoration: none; color: black;">
<table class="menu_options">
<tr>
<td class="menu_img" width="45%"><img src="images/meditation.png"></td>
<td><p>Meditation</p></td></a>
</tr>
</table>
</a>
</th>
</tr>
<tr>
<th>
<a href="Music Player/index.html" style="text-decoration: none; color: black;">
<table class="menu_options">
<tr>
<td class="menu_img" width="45%"><img src="images/music.png"></td>
<td><p>Music</p></td></a>
</tr>
</table>
</a>
</th>
</tr>
<tr>
<th>
<a href="#" style="text-decoration: none; color: black;">
<table class="menu_options">
<tr>
<td class="menu_img" width="45%"><img src="images/drawing.png"></td>
<td><p>Paint with me</p></td></a>
</tr>
</table>
</a>
</th>
</tr>
<tr>
<th>
<a href="writingSpace.html" style="text-decoration: none; color: black;">
<table class="menu_options">
<tr>
<td class="menu_img" width="45%"><img src="images/writing.png"></td>
<td><p>writing Space</p></td></a>
</tr>
</table>
</a>
</th>
</tr>
</table>
</div>
</div>
<!-------------------------Slide Show------------------------->
<div class="slideshow-container" style="height: 100%;">
<div class="mySlides fade">
<h1>Time to Meditate</h1>
<p style="padding-left: 6%; padding-right: 6%;"> Practice of focusing the mind & cultivating a sense of calm and inner peace.</p>
<img src="images/meditation_1.0.png" style="width:90%;">
<p style="padding-left: 6%; padding-right: 6%;">Let’s enter into the quiet world that's already there - buried under the 50,000 thoughts the average person thinks every day.</p>
</div>
</div>
<div>
<table>
<tr>
<th>
<div>
<div class="timer_btn" onclick="myFunction1()"><button class="ybtn">Start</button></div>
<div class="timer" onclick="myFunction1()" id="countdown">00:05:00</div>
</div>
</th>
</tr>
<tr>
<th>
<div class="msg">
<audio id="myAudio">
<source src="timer/music.mp3" type="audio/mpeg">
</audio>
<p id="msg">Times Up.. <a style="color: green;" href="meditationSection.html">Restart</a></p>
</div>
</th>
</tr>
</table>
</div>
<br>
<script>
let slideIndex = 1;
showSlides(slideIndex);
function plusSlides(n) {
showSlides(slideIndex += n);
}
function currentSlide(n) {
showSlides(slideIndex = n);
}
function showSlides(n) {
let i;
let slides = document.getElementsByClassName("mySlides");
let dots = document.getElementsByClassName("dot");
if (n > slides.length) {slideIndex = 1}
if (n < 1) {slideIndex = slides.length}
for (i = 0; i < slides.length; i++) {
slides[i].style.display = "none";
}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" dactive", "");
}
slides[slideIndex-1].style.display = "block";
dots[slideIndex-1].className += " dactive";
}
function myFunction() {
var element = document.querySelector('.menu_section');
element.classList.toggle("menu_section_d");
}
</script>
</body>
</html>