-
Notifications
You must be signed in to change notification settings - Fork 0
/
features.html
79 lines (70 loc) · 2.06 KB
/
features.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>F&F Home</title>
<link href="features.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" type="image/jpg" href="logo.png"/>
</head>
<body>
<div class="nav">
<div class="logo">
<a href="index.html"><img src= "gamelogo.png" id="gamelogo"></a>
</div>
<ul class='navbar'>
<li><a href="features.html">features</a></li>
<li>
<div class="dropdown">
<a href="about.html">About ▿</a>
<div class="dropdown-content">
<a href="video.html">Our Video</a>
<a href="team.html">Our Team</a>
</div>
</div>
</li>
</ul>
</div>
<br><br>
<center>
<table id="slidetable" align="center">
<tr>
<td>
<button id="button-left" onclick="plus(-1)">❮</button>
</td>
<td>
<div class="laptops">
<center>
<img src="F&F (1).gif" class="slides">
<img src="F&F (2).gif" class="slides">
<img src="F&F (3).gif" class="slides">
<img src="F&F (4).gif" class="slides">
<img src="F&F (5).gif" class="slides">
<a href="video.html"><img src="F&F (6).gif" class="slides"></a>
</center>
</div>
</td>
<td>
<button id="button-right" onclick="plus(+1)">❯</button>
</td>
</tr>
</table>
<br><br>
</center>
<script>
var slideIndex = 1;
showDivs(slideIndex);
function plus(n) {
showDivs(slideIndex += n);
}
function showDivs(n) {
var i;
var x = document.getElementsByClassName("slides");
if (n > x.length) {slideIndex = 1}
if (n < 1) {slideIndex = x.length}
for (i = 0; i < x.length; i++) {x[i].style.display = "none";}
x[slideIndex-1].style.display = "block";
}
</script>
</body>
</html>