-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
372 lines (266 loc) · 13.8 KB
/
index.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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="sharedcode/common.css">
<style>
#hoverbox {
display: inline-block;
padding: 20px 0px 20px 0px;
}
.wave {
display: inline-block;
white-space: pre;
}
.wave span {
font-size:30px;
position: relative;
display: inline-block;
}
.wave span:hover {
color: #0060df;
}
.textbox {
background-color:#161515;
padding:40px;
width:672px;
}
.largebutton {
width:522px;
padding-left:10px;
height:auto;
}
.largebutton:hover {
width:538px;
height:93px;
padding-left:2px;
padding-right:10px;
}
.largebutton:active {
width:518px;
height:83px;
padding-left:12px;
padding-right:20px;
padding-bottom:5px;
padding-top:5px;
opacity:0.7;
}
.extraslargebutton {
position: relative;
width:522px;
padding-left:10px;
height:auto;
}
.extraslargebutton:hover {
width:538px;
height:52px;
padding-left:2px;
padding-right:10px;
}
.extraslargebutton:active {
width:518px;
height:41px;
padding-left:11px;
padding-right:20px;
padding-bottom:6px;
padding-top:5px;
opacity:0.7;
}
.servicessmallbutton {
width:250px;
height:52px;
padding-left:10px;
padding-right:8px;
}
.servicessmallbutton:hover {
width:264px;
padding-left:4px;
padding-right:0px;
}
.servicessmallbutton:active {
width:232px;
height:41px;
padding-left:22px;
padding-right:14px;
padding-bottom:4px;
padding-top:6px;
opacity:0.7;
}
.creditssmallbutton {
width:250px;
height:52px;
padding-left:8px;
}
.creditssmallbutton:hover {
width:264px;
padding-left:0px;
}
.creditssmallbutton:active {
width:232px;
height:41px;
padding-left:15px;
padding-bottom:4px;
padding-top:6px;
opacity:0.7;
}
.homebuttons{
padding-left:145px;
}
@media screen and (max-width: 609px) {
.textbox {
background-color:#161515;
padding:38px;
width:452px;
}
.largebutton {
width:522px;
height:auto;
}
.smallbutton {
width:257px;
height:auto;
}
.homebuttons{
padding-left:33px;
}
}
</style>
</head>
<body>
<div class="nav">
<a href=index.html><img class=navlogo style="padding-top:10px;width:150px;height:auto;" src=http://wiiroom.wiilink24.com/graphics/logos/Wii_Link_Logo.png></a>
<div class=ctrlposition style="display:inline-block;">
<a href=""><img class=browserctrlfresh onclick="refreshPage()" src=http://wiiroom.wiilink24.com/graphics/buttons/refresh.png></a>
<img class=browserctrldiv src=http://wiiroom.wiilink24.com/graphics/buttons/divider.jpg>
<a href=""><img class=browserctrl onclick="goForward()" src=http://wiiroom.wiilink24.com/graphics/buttons/forward.png></a>
<a href=""><img class=browserctrl onclick="goBack()" src=http://wiiroom.wiilink24.com/graphics/buttons/back.png></a>
</div>
</div>
<div style="padding-top:60px;padding-left:40px;">
<div class=textbox>
<img style="width:150px;padding-right:310px;height:auto;" src="http://wiiroom.wiilink24.com/graphics/logos/logo.png">
<div id="hoverbox">
<img src="http://wiiroom.wiilink24.com/graphics/nothing.png" style="vertical-align:middle;padding-bottom:10px;height:width:50px;height:auto;" id="randomImage"><div id="wavecontainer" class="wave"><span id="imageCaption">...</span></div>
</div>
<p style="color:gray;">WiiLink is an open source replacement for Nintendo's servers for both WiiConnect24 and Nintendo Wi-Fi Connection, allowing online connectivity for all, even after the original servers were discontinued! But you probably know that already.</p>
</div>
</div>
<div class=homebuttons style="padding-top:60px;padding-bottom:10px;">
<a href=news.html><img class=largebutton style="display:block;" src="http://wiiroom.wiilink24.com/graphics/buttons/homebuttons/bluebutton.png"></a>
<div style="padding-top:16px;"></div>
<a href=partners.html><img class=largebutton style="display:block;" src="http://wiiroom.wiilink24.com/graphics/buttons/homebuttons/purplebutton.png"></a>
<div style="padding-top:16px;"></div>
<a href=services.html><img class=servicessmallbutton style="display:inline-block;" src="http://wiiroom.wiilink24.com/graphics/buttons/homebuttons/greenbutton.png"></a><a href=credits.html><img class=creditssmallbutton style="display:inline-block;" src="http://wiiroom.wiilink24.com/graphics/buttons/homebuttons/redbutton.png"></a>
<div style="padding-top:10px;"></div>
<a href=extras.html><img class=extraslargebutton style="display:block;" src="http://wiiroom.wiilink24.com/graphics/buttons/homebuttons/orangebutton.png"></a>
</div>
<div class=footer>
<img id=footerImage style="padding-top:70px;width:100%;display:block;" src="">
<img class=footertext style="width:120px;padding-top:80px;height:auto;" src=http://wiiroom.wiilink24.com/graphics/logos/logo.png><p style="padding-top:175px;font-size:19px;" class=footertext><img style="width:27px;height:auto;vertical-align:middle;display:inline;padding:0px 5px 5px 0px;" src=http://wiiroom.wiilink24.com/graphics/buttons/web.png>Site by <a href=mayro.html><img style="width:27px;height:auto;vertical-align:middle;display:inline;padding-bottom:5px;" src=http://wiiroom.wiilink24.com/graphics/logos/Mayro.png>KingMayro</a></p><p style="font-size:19px;padding-top:210px;" class=footertext><img style="width:27px;height:auto;vertical-align:middle;display:inline;padding:0px 5px 5px 0px;" src=http://wiiroom.wiilink24.com/graphics/buttons/email.png>[email protected]</p>
<p style="padding:75px 60px 0px 0px;font-size:40px;border-bottom: 2px solid;" class=footertextright>Socials</p><p style="padding-top:135px;font-size:19px;" class=footertextright><img style="width:32px;height:auto;vertical-align:middle;display:inline;padding:0px 5px 5px 0px;" src=http://wiiroom.wiilink24.com/graphics/logos/discord.png>discord.gg/wiilink<br><img style="width:32px;height:auto;vertical-align:middle;display:inline;padding:0px 5px 5px 0px;" src=http://wiiroom.wiilink24.com/graphics/logos/twitter.png>@WiiLink24<br><img style="width:32px;height:auto;vertical-align:middle;display:inline;padding:0px 5px 5px 0px;" src=http://wiiroom.wiilink24.com/graphics/logos/github.png>WiiLink24<br><img style="width:32px;height:auto;vertical-align:middle;display:inline;padding:0px 5px 5px 0px;" src=http://wiiroom.wiilink24.com/graphics/logos/youtube.png>@wiilink</p>
<div class=footertextcenter style="display:inline-block;vertical-align:top;"><a href=tos.html><p class=footerlegaltexttos style="display:inline-block;"><img style="width:17px;height:auto;vertical-align:middle;display:inline;padding:0px 5px 2px 0px;" src=http://wiiroom.wiilink24.com/graphics/buttons/arrow.png>Terms of Service</p></a> <a href=privacy.html><p class=footerlegaltextprivacy style="display:inline-block;"><img style="width:17px;height:auto;vertical-align:middle;display:inline;padding:0px 5px 2px 0px;" src=http://wiiroom.wiilink24.com/graphics/buttons/arrow.png>Privacy Policy</p></a> <a href=eula.html><p class=footerlegaltexteula style="display:inline-block;"><img style="width:17px;height:auto;vertical-align:middle;display:inline;padding:0px 5px 2px 0px;" src=http://wiiroom.wiilink24.com/graphics/buttons/arrow.png>EULA</p></a></div>
</div>
</body>
<script src="sharedcode/global.js"></script>
<script>
// if only I didn't have to use nothing.png. Thanks Wii Room Browser.
// Do not delete strings; only Comment out strings that are no longer in use unless absolutely necessary. They may be reenabled in the future.
var images = [
{ src: "http://wiiroom.wiilink24.com/graphics/nothing.png", caption: "Welcome to Wii Room!", weight: 9 },
{ src: "http://wiiroom.wiilink24.com/graphics/nothing.png", caption: "Video on demand?!", weight: 8 },
// { src: "http://wiiroom.wiilink24.com/graphics/nothing.png", caption: "Please change your Primary and Secondary DNS!", weight: 5 },
{ src: "http://wiiroom.wiilink24.com/graphics/nothing.png", caption: "I could go for some Domino's", weight: 7 },
{ src: "http://wiiroom.wiilink24.com/graphics/nothing.png", caption: "You'd appreciate an overclock", weight: 4 },
{ src: "http://wiiroom.wiilink24.com/graphics/logos/homebrewtea.png", caption: "Hi I'm Kolton", weight: 6 },
{ src: "http://wiiroom.wiilink24.com/graphics/nothing.png", caption: "You can’t find it anywhere else!", weight: 8 },
{ src: "http://wiiroom.wiilink24.com/graphics/logos/sudomemo.png", caption: "Happy Flipnoting!", weight: 6 },
{ src: "http://wiiroom.wiilink24.com/graphics/nothing.png", caption: "High or normal quality?", weight: 8 },
{ src: "http://wiiroom.wiilink24.com/graphics/nothing.png", caption: "SVGs scare me...", weight: 6 },
{ src: "http://wiiroom.wiilink24.com/graphics/logos/diskette.png", caption: "Hiya! I’m Discette!", weight: 6 },
{ src: "http://wiiroom.wiilink24.com/graphics/nothing.png", caption: "Wow, thanks for that ngrok...", weight: 2 },
{ src: "http://wiiroom.wiilink24.com/graphics/logos/Mayro.png", caption: "Website by KingMayro!", weight: 2 },
{ src: "http://wiiroom.wiilink24.com/graphics/nothing.png", caption: "It doesn’t include Adobe Flash?", weight: 3 },
{ src: "http://wiiroom.wiilink24.com/graphics/nothing.png", caption: "The Red Room", weight: 1 },
{ src: "http://wiiroom.wiilink24.com/graphics/nothing.png", caption: "I'm not gonna sugarcoat it", weight: 1 },
{ src: "http://wiiroom.wiilink24.com/graphics/nothing.png", caption: "Rediscover your Wii!", weight: 9 },
{ src: "http://wiiroom.wiilink24.com/graphics/nothing.png", caption: "Wii would like to play, again", weight: 9 },
{ src: "http://wiiroom.wiilink24.com/graphics/nothing.png", caption: "Link back to Nintendo's golden age!", weight: 9 },
{ src: "http://wiiroom.wiilink24.com/graphics/nothing.png", caption: "Get Connected back to the Wii's past once again!", weight: 9 },
// { src: "http://wiiroom.wiilink24.com/graphics/nothing.png", caption: "The realest Wii network revival service", weight: 9 },
{ src: "http://wiiroom.wiilink24.com/graphics/nothing.png", caption: "Linking the world, one Wii at a time!", weight: 9 },
// { src: "http://wiiroom.wiilink24.com/graphics/nothing.png", caption: "Your childhood memories, connected to our servers!", weight: 9 },
// { src: "http://wiiroom.wiilink24.com/graphics/nothing.png", caption: "One of Nintendo's biggest steps in multiplayer gaming, Revived!", weight: 9 },
// { src: "http://wiiroom.wiilink24.com/graphics/nothing.png", caption: "As seen on Scott The Woz!", weight: 9 },
// { src: "http://wiiroom.wiilink24.com/graphics/nothing.png", caption: "You can do more with a Wii than just losing in Mario Kart!", weight: 9 },
{ src: "http://wiiroom.wiilink24.com/graphics/nothing.png", caption: "Play as if you were back in your childhood!", weight: 9 },
{ src: "http://wiiroom.wiilink24.com/graphics/nothing.png", caption: "Fans do what Nintendon't", weight: 9 },
{ src: "http://wiiroom.wiilink24.com/graphics/nothing.png", caption: "The Return of the Legendary WiiConnect24", weight: 9 }
];
var totalWeight = 0;
for (var i = 0; i < images.length; i++) {
totalWeight += images[i].weight;
}
var randomNumber = Math.floor(Math.random() * totalWeight) + 1;
var selectedImage;
for (var i = 0; i < images.length; i++) {
randomNumber -= images[i].weight;
if (randomNumber <= 0) {
selectedImage = images[i];
break;
}
}
document.getElementById("randomImage").src = selectedImage.src;
document.getElementById("imageCaption").textContent = selectedImage.caption;
var images = document.getElementsByTagName('img');
for (var i = 0; i < images.length; i++) {
var img = images[i];
if (img.getAttribute('src') === 'nothing.png') {
img.setAttribute('width', '1px');
img.setAttribute('height', '1px');
}
}
(function() {
var hoverBox = document.getElementById('hoverbox');
var container = document.getElementById('wavecontainer');
var text = container.innerText || container.textContent;
var letters = text.split('');
container.innerHTML = '';
for (var i = 0; i < letters.length; i++) {
var span = document.createElement('span');
span.innerHTML = letters[i];
container.appendChild(span);
}
var waveHeight = 9;
var waveLength = 34;
var speed = 45;
var angle = 6;
var isHovering = false;
var animationInterval;
function animateWave() {
var spans = container.getElementsByTagName('span');
for (var i = 0; i < spans.length; i++) {
spans[i].style.top = Math.sin((angle + i) / waveLength * 2 * Math.PI) * waveHeight + 'px';
}
angle += 1;
}
hoverBox.onmouseover = function() {
if (!isHovering) {
isHovering = true;
animationInterval = setInterval(animateWave, speed);
}
};
hoverBox.onmouseout = function(e) {
var target = e.relatedTarget || e.toElement;
if (!hoverBox.contains(target)) {
isHovering = false;
clearInterval(animationInterval);
var spans = container.getElementsByTagName('span');
for (var i = 0; i < spans.length; i++) {
spans[i].style.top = '0';
}
}
};
})();
</script>
</html>