-
Notifications
You must be signed in to change notification settings - Fork 0
/
newfleet.html
197 lines (175 loc) · 7.25 KB
/
newfleet.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
<!DOCTYPE html>
<html>
<head>
<!--This imports the "Lato" font to the website-->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato">
<!--This is the common style file for the website-->
<link rel="stylesheet" href="stylefleet.css">
<!--This imports Font Awesome abilities to the website-->
<script src="https://kit.fontawesome.com/c0e1a20f99.js" crossorigin="anonymous"></script>
<!--This is the favicon for the header of this page-->
<link rel="icon" href="https://user-images.githubusercontent.com/83706649/158230003-b22c6ffd-303d-4cff-9d11-504e0780d327.png" type="image/x-icon">
<!--Set the title here
vvvvvvvvvvvvvvvvvvvvvvv-->
<title>GGA Fleet</title>
</head>
<body>
<div class="content">
<!--This is the content of the page, when creating a new page, only change this
vvvvvvvvvvvvvvvvvvvvvvvvvvvvv-->
<div class="header">
<h1><br><br></h1>
<p><br><b></b></p>
</div>
<div class="navbar">
<a href="index.html">Home</a>
<a href="aboutus.html">About Us</a>
<a href="fleet.html">Aircraft</a>
<a href="routes.html" class="active">Routes</a>
<a href="https://dragon.ftwsim.de/FlyTheWorld" class="right"><i class="fa-solid fa-right-to-bracket"></i>Crew Login</a>
</div>
<br><br><br>
<div class="fleetmain">
<div id="myBtnContainer">
<button class="fleetbtn active" onclick="filterSelection('all')"> Show all</button>
<button class="fleetbtn" onclick="filterSelection('ga')"> General Aviation</button>
<button class="fleetbtn" onclick="filterSelection('airliner')"> Airliners</button>
<button class="fleetbtn" onclick="filterSelection('helo')"> Rotary Wing</button>
</div>
<!-- Portfolio Gallery Grid -->
<div class="fleetrow">
<div class="fleetcolumn airliner">
<div class="fleetcontent">
<img src="https://user-images.githubusercontent.com/83706649/158230003-b22c6ffd-303d-4cff-9d11-504e0780d327.png" alt="ACJ 320neo" style="width:100%">
<h4>Airbus ACJ320neo</h4>
<p>
<a class="links" href="" target="_blank">Livery Coming Soon</a></p>
</div>
</div>
<div class="fleetcolumn ga">
<div class="fleetcontent">
<img src="https://user-images.githubusercontent.com/83706649/158230003-b22c6ffd-303d-4cff-9d11-504e0780d327.png" alt="ACJ 320neo" style="width:100%">
<h4>Antonov AN-2</h4>
<p>
<a class="links" href="" target="_blank">Livery Coming Soon</a></p>
</div>
</div>
<div class="fleetcolumn airliner">
<div class="fleetcontent">
<img src="https://user-images.githubusercontent.com/83706649/158230003-b22c6ffd-303d-4cff-9d11-504e0780d327.png" alt="ACJ 320neo" style="width:100%">
<h4>BAe 146-100</h4>
<p>
<a class="links" href="" target="_blank">Livery Coming Soon</a></p>
</div>
</div>
<div class="fleetcolumn airliner">
<div class="fleetcontent">
<img src="https://user-images.githubusercontent.com/83706649/158230003-b22c6ffd-303d-4cff-9d11-504e0780d327.png" alt="ACJ 320neo" style="width:100%">
<h4>Boeing 737-800 BBJ</h4>
<p>
<a class="links" href="" target="_blank">Livery Coming Soon</a></p>
</div>
</div>
<div class="fleetcolumn ga">
<div class="fleetcontent">
<img src="https://user-images.githubusercontent.com/83706649/158230003-b22c6ffd-303d-4cff-9d11-504e0780d327.png" alt="ACJ 320neo" style="width:100%">
<h4>Beechcraft Baron 58</h4>
<p>
<a class="links" href="" target="_blank">Livery Coming Soon</a></p>
</div>
</div>
<div class="fleetcolumn ga">
<div class="fleetcontent">
<img src="https://user-images.githubusercontent.com/83706649/158230003-b22c6ffd-303d-4cff-9d11-504e0780d327.png" alt="ACJ 320neo" style="width:100%">
<h4>Beechcraft Bonanza F33A</h4>
<p>
<a class="links" href="" target="_blank">Livery Coming Soon</a></p>
</div>
</div>
<div class="fleetcolumn ga">
<div class="fleetcontent">
<img src="https://user-images.githubusercontent.com/83706649/158230003-b22c6ffd-303d-4cff-9d11-504e0780d327.png" alt="ACJ 320neo" style="width:100%">
<h4>Beechcraft Bonanza G36</h4>
<p>
<a class="links" href="" target="_blank">Livery Coming Soon</a></p>
</div>
</div>
<div class="fleetcolumn airliner">
<div class="fleetcontent">
<img src="https://user-images.githubusercontent.com/83706649/158230003-b22c6ffd-303d-4cff-9d11-504e0780d327.png" alt="ACJ 320neo" style="width:100%">
<h4>Beechcraft King Air 350</h4>
<p>
<a class="links" href="" target="_blank">Livery Coming Soon</a></p>
</div>
</div>
<div class="fleetcolumn airliner">
<div class="fleetcontent">
<img src="https://user-images.githubusercontent.com/83706649/158230003-b22c6ffd-303d-4cff-9d11-504e0780d327.png" alt="ACJ 320neo" style="width:100%">
<h4>Boeing 727-200 BBJ</h4>
<p>
<a class="links" href="" target="_blank">Livery Coming Soon</a></p>
</div>
</div>
<div class="fleetcolumn airliner">
<div class="fleetcontent">
<img src="https://user-images.githubusercontent.com/83706649/158230003-b22c6ffd-303d-4cff-9d11-504e0780d327.png" alt="ACJ 320neo" style="width:100%">
<h4>Bombardier Challenger 650</h4>
<p>
<a class="links" href="" target="_blank">Livery Coming Soon</a></p>
</div>
</div>
<div class="fleetcolumn airliner">
<div class="fleetcontent">
<img src="https://user-images.githubusercontent.com/83706649/158230003-b22c6ffd-303d-4cff-9d11-504e0780d327.png" alt="ACJ 320neo" style="width:100%">
<h4>Bombardier CRJ700ER</h4>
<p>
<a class="links" href="" target="_blank">Livery Coming Soon</a></p>
</div>
</div>
<!-- END GRID -->
</div>
<!-- END MAIN -->
</div>
<script>
filterSelection("all")
function filterSelection(c) {
var x, i;
x = document.getElementsByClassName("fleetcolumn");
if (c == "all") c = "";
for (i = 0; i < x.length; i++) {
w3RemoveClass(x[i], "fleetshow");
if (x[i].className.indexOf(c) > -1) w3AddClass(x[i], "fleetshow");
}
}
function w3AddClass(element, name) {
var i, arr1, arr2;
arr1 = element.className.split(" ");
arr2 = name.split(" ");
for (i = 0; i < arr2.length; i++) {
if (arr1.indexOf(arr2[i]) == -1) {element.className += " " + arr2[i];}
}
}
function w3RemoveClass(element, name) {
var i, arr1, arr2;
arr1 = element.className.split(" ");
arr2 = name.split(" ");
for (i = 0; i < arr2.length; i++) {
while (arr1.indexOf(arr2[i]) > -1) {
arr1.splice(arr1.indexOf(arr2[i]), 1);
}
}
element.className = arr1.join(" ");
}
// Add active class to the current button (highlight it)
var btnContainer = document.getElementById("myBtnContainer");
var btns = btnContainer.getElementsByClassName("fleetbtn");
for (var i = 0; i < btns.length; i++) {
btns[i].addEventListener("click", function(){
var current = document.getElementsByClassName("active");
current[0].className = current[0].className.replace(" active", "");
this.className += " active";
});
}
</script>
</body>
</html>