-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·227 lines (217 loc) · 8.52 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
<!doctype html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Triple Dare | Knucklelodeon Studios</title>
<meta name="description" content="The Web's Messiest Challenge, Airing Thursdays on the Knucklelodeon Network">
<meta name="author" content="Knucklelodeon Network">
<meta name="viewport" content="width=device-width,initial-scale=1">
<script src="js/libs/jquery-1.6.4.min.js"></script>
<script src="js/libs/jquery.placeholder.min.js"></script>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" media="screen and (min-width: 320px)" href="css/320.css" />
<link rel="stylesheet" media="screen and (min-width: 480px)" href="css/480.css" />
<link rel="stylesheet" media="screen and (min-width: 640px)" href="css/640.css" />
<link rel="stylesheet" media="screen and (min-width: 768px)" href="css/768.css" />
<!--[if lt IE 9]>
<link rel="stylesheet" href="css/320.css" />
<link rel="stylesheet" href="css/480.css" />
<link rel="stylesheet" href="css/640.css" />
<link rel="stylesheet" href="css/768.css" />
<link rel="stylesheet" href="css/ie.css" />
<script type="text/javascript" src="js/libs/html5.js"></script>
<![endif]-->
<!--[if lt IE 8]>
<script type="text/javascript" src="js/libs/IE8.js"></script>
<![endif]-->
</head>
<body>
<a id="top"></a>
<header>
<h1>Triple Dare</h1>
<h2 id="tagline">The Web's Messiest Challenge!</h2>
<span>Airing Thursdays on the Knucklelodeon Network™</span>
</header>
<nav>
<ul>
<li>
<a href="#obstacles">Obstacles</a>
</li>
<li>
<a href="#prizes">Prizes</a>
</li>
<li>
<a href="#beacontestant">Be a Contestant</a>
</li>
<li>
<a id="toplink" href="#top">Back to Top</a>
</li>
</ul>
</nav>
<section id="obstacles">
<h3>Obstacles</h3>
<ul>
<li id="thetankbutton" class="active">
<a href="#thetank">
<span>The Tank</span>
</a>
</li>
<li id="sundaeslidebutton">
<a href="#sundaeslide">
<span>Sundae Slide</span>
</a>
</li>
<li id="hamsterbutton">
<a href="#hamster">
<span>Human Hamster Wheel</span>
</a>
</li>
<li id="downhatchbutton">
<a href="#downhatch">
<span>Down the Hatch</span>
</a>
</li>
<li id="pickitbutton">
<a href="#pickit">
<span>Pick It!</span>
</a>
</li>
<li id="wringerbutton">
<a href="#wringer">
<span>The Wringer</span>
</a>
</li>
</ul>
<div id="thetank">
<h4>The Tank</h4>
<h5>Filled with balloons, Jello, and goop!</h5>
</div>
<div id="sundaeslide">
<h4>Sundae Slide</h4>
<h5>A slippery climb before sliding down to dessert!</h5>
</div>
<div id="hamster">
<h4>Human Hamster Wheel</h4>
<h5>A one-ton wheel gets you the boxing glove!</h5>
</div>
<div id="downhatch">
<h4>Down the Hatch</h4>
<h5>6ft slide covered in gunk!</h5>
</div>
<div id="pickit">
<h4>Pick It!</h4>
<h5>A huge nose filled with gak!</h5>
</div>
<div id="wringer">
<h4>The Wringer</h4>
<h5>Giant rollers and a ramp of ooze!</h5>
</div>
</section>
<section id="prizes">
<h3>Prizes</h3>
<div id="spacecamp">
<img src="img/spacecamp.png" alt="" />
<span>A trip to Space Camp!</span>
</div>
<div id="skateboard">
<img src="img/skateboard.png" alt="" />
<span>A Nash skateboard!</span>
</div>
<div id="keyboard">
<img src="img/keyboard.png" alt="" />
<span>A Casio Rapman keyboard!</span>
</div>
<div id="tvvcr">
<img src="img/tvvcr.png" alt="" />
<span>A 13 inch TV/VCR combo!</span>
</div>
</section>
<section id="beacontestant">
<h3>Be a Contestant</h3>
<div>
<span id="timer">60</span>
<span id="ticking">The Clock<br />is Ticking!</span>
</div>
<form>
<input type="text" name="yourname" id="yourname" placeholder="Your Name" /><br />
<input type="email" name="youremail" id="youremail" placeholder="Email Address" /><br />
<input type="text" name="teamname" id="teamname" placeholder="Team Name" /><br />
<select name="teamcolor" id="teamcolor">
<option value="">Team Color</option>
<option value="Red">Red</option>
<option value="Orange">Orange</option>
<option value="Yellow">Yellow</option>
<option value="Green">Green</option>
<option value="Blue">Blue</option>
<option value="Purple">Purple</option>
</select>
<select name="gender" id="gender">
<option value="">Gender</option>
<option value="M">Male</option>
<option value="F">Female</option>
<option value="O">Other</option>
</select><br />
<input type="url" name="profilephoto" id="profilephoto" placeholder="Profile Photo URL" /><br />
<input type="submit" name="submitentry" id="submitentry" value="Submit Entry!" />
</form>
<footer>
<div>
<h4>The Knucklelodeon Network</h4>
<p>The Knucklelodeon Network is not affiliated with Nickelodeon, nor is it an actual television network.</p>
<p>Triple Dare contestants consent to potential physical bodily harm, like being buried alive by a giant waffle.</p>
</div>
<div id="visit">
<h4>Visit Our Studios</h4>
<address>11 Slime Time Way<br />Sacramento, CA 94203</address>
<address>329 Gunk Road<br />Jacksonville, FL 32099</address>
</div>
</footer>
</section>
<footer id="collophon">
<span>This design is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 License</span>
<a href="http://creativecommons.org/licenses/by-nc-nd/3.0/" title="License Deed"><img src="img/ccbyncnd.gif" alt="CC BY-NC-ND" /></a>
</footer>
<script>
$(document).ready(function() {
$('#obstacles li').click(function(e) {
e.preventDefault();
var clicked = $(this);
var target = clicked.children('a').attr('href');
$('#obstacles div').hide();
$('#obstacles li').removeClass('active');
$(target).show();
clicked.addClass('active');
});
function do_countdown() {
var timer = $('#timer');
var curtime = timer.text() - 1;
if (curtime < 10) {
curtime = "0" + curtime;
}
if (curtime == "00") {
curtime = "60";
}
timer.text(curtime);
}
setInterval(do_countdown, 1000);
$('input').placeholder();
function checkWidth() {
if ($(window).width() > 960) {
var margin = $(window).width() - 960;
margin = Math.floor(margin / 2);
$('#obstacles, #prizes, #beacontestant').css('padding-left', margin + 'px').css('padding-right', margin + 'px');
}
else {
$('#obstacles, #prizes, #beacontestant').css('padding-left', 0).css('padding-right', 0);
}
}
checkWidth();
$(window).resize(checkWidth);
});
</script>
</body>
</html>