forked from subrata3112/Hack-Vsit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvalid.html
More file actions
204 lines (185 loc) · 4.96 KB
/
valid.html
File metadata and controls
204 lines (185 loc) · 4.96 KB
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
199
200
201
202
203
204
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title> Your Results </title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Overpass&display=swap" rel="stylesheet">
<style>
.bg-image{
width: 100%;
height: 100vh;
background-image: url(kelly-sikkema-tk9RQCq5eQo-unsplash.jpg);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
body {
font-family: 'Overpass', sans-serif;
}
#navigationBar {
z-index: 1111;
background:#444;
box-shadow:0px 1px 10px 10px #ddd;
height:auto;
text-align:center;
width:100%;
}
#navigationBar > ul > li {
display:inline;
}
#navigationBar > ul > li > a
{
color:#fff;
display:inline-block;
height:60px;
line-height:60px;
margin:0px;
padding:0px 15px;
text-decoration:none;
transition: color 0.3s ease-in;
}
#navigationBar > ul > li > a:hover {
color:#FCD000;
}
#result{
width: 60%;
height: 60vh;
position: absolute;
top:50%;
left: 50%;
transform :translate(-50%,-50%);
padding : 2rem;
border: 1px solid white;
z-index: 999999999;
}
#game{
width: 70%;
height: 90vh;
position: absolute;
top:60%;
left: 60%;
transform :translate(-50%,-50%);
padding : 2rem;
border: 1px solid white;
z-index: 999999999;
}
#songs{
width: 60%;
height: 60vh;
position: absolute;
top:50%;
left: 50%;
transform :translate(-50%,-50%);
padding : 2rem;
border: 1px solid white;
z-index: 999999999;
}
button {
position: absolute;
top : 67%;
left: 50%;
transform: translate(-50%);
background: none;
border: 2px solid;
line-height: 1;
margin: 0.5em;
padding: 1em 2em;
}
.slide:hover,
.slide:focus {
box-shadow: inset 8.9em 0 0 0 #00FF3A;
}
#contact{
z-index:999999;
position:absolute;
top:50%;
left: 50%;
transform :translate(-50%,-50%);
}
</style>
</head>
<body>
<nav id="navigationBar">
<ul>
<li>
<a href="index.html" class="link">Home</a>
</li>
<li>
<a href="#" class="linkR">Result</a>
</li>
<li>
<a href="#" class="linkG">Games</a>
</li>
<li>
<a href="#" class="linkS">Songs</a>
</li>
<li>
<a href="#" class="linkO">Other</a>
</li>
</ul>
</nav>
<div class="bg-image"></div>
<div id="result">
<p><font color="white">
We evaluate that your :<br>
Positivity : {{positivity}} <br>
Verdict : {{result}}</p>
</font>
</div>
<iframe id="game" src="http://gambit.mit.edu/loadgame/summer2010/elude_play.php"></iframe>
<div id="songs">
<iframe src="https://giphy.com/embed/l3vQXKPdzpShJtTCE" width="500" height="350" allow="autoplay" frameBorder="0" class="giphy-embed" allowFullScreen></iframe>
<!--<audio autoplay loop>
<source src="2019-04-20_-_Quiet_Time_-_David_Fesliyan.mp3" type="audio/mp3">
</audio> -->
<audio controls autoplay style="display: none">
<source src="2019-04-20_-_Quiet_Time_-_David_Fesliyan.mp3" type="audio/mp3">
Your browser does not support the audio element.
</audio>
</div>
<div id="contact">
<p> <font color="white">Do you want to get reffered to a professional, then click on the link below </font></p>
<button class="slide">Click Here!</button>
</div>
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
<script>
$('#result').show();
$('#game').hide();
$('#songs').hide();
$('#contact').hide();
$('.linkO').on('click', function() {
$('#result').hide();
$('#game').hide();
$('#songs').hide();
$('#contact').show();
});
$('.linkR').on('click', function() {
$('#result').show();
$('#game').hide();
$('#songs').hide();
$('#contact').hide();
})
$('.linkG').on('click', function() {
$('#result').hide();
$('#game').show();
$('#songs').hide();
$('#contact').hide();
$("iframe").each(function() {
var src= $(this).attr('src');
$(this).attr('src',src);
});
})
$('.linkS').on('click', function() {
$('#result').hide();
$('#game').hide();
$('#songs').show();
$('#contact').hide();
})
</script>
</body>
</html>