-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
260 lines (212 loc) · 8.6 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
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>The Create-O-Matic</title>
<link href="styles/screen.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>
<img src="images/button_active.png" style="position:absolute;top:-9999px;left:-9999px" />
<div class="button">
<a href="#x" id="playNormal" onclick="document.getElementById('mysound').play()">button</a>
</div>
<audio id="mysound" src="clap.m4a"></audio>
<h1>The Stupendous Create-O-Matic</h1>
<div class="wrap1">
<span class="shine"> </span>
<div class="wrap2">
<div class="wrap3">
<ul class="subject">
<li>Movie Poster</li>
<li>Book Cover</li>
<li>Landing Page</li>
<li>Business Flyer</li>
<li>Tshirt</li>
</ul>
<ul class="theme">
<li>Victorious</li>
<li>Thunderous</li>
<li>Powerful</li>
<li>Handsome</li>
<li>Silly</li>
<li>Ancient</li>
<li>Nerdy</li>
<li>Gigantic</li>
<li>Wrong</li>
<li>Greasy</li>
<li>Strong</li>
<li>Crooked</li>
<li>Thankful</li>
<li>Eager</li>
<li>Chubby</li>
<li>Adorable</li>
</ul><ul class="color">
<li>
<span style="background:#CCC5C4;"><em>CCC<br />5C4</em></span>
<span style="background:#9A9B96;"><em>9A9<br />B96</em></span>
<span style="background:#BE392D;"><em>BE3<br />92D</em></span>
<span style="background:#4A4A49;"><em>4A4<br />A49</em></span>
</li>
<li>
<span style="background:#364241;"><em>364<br />241</em></span>
<span style="background:#758F73;"><em>758<br />F73</em></span>
<span style="background:#8AC2A2;"><em>8AC<br />2A2</em></span>
<span style="background:#CBE0B3;"><em>CBE<br />0B3</em></span>
</li>
<li>
<span style="background:#3D4C53;"><em>3D4<br />C53</em></span>
<span style="background:#71B7BA;"><em>71B<br />7BA</em></span>
<span style="background:#F04642;"><em>F04<br />642</em></span>
<span style="background:#E7E1D4;"><em>E7E<br />1D4</em></span>
</li>
<li>
<span style="background:#DDA259;"><em>DDA<br />259</em></span>
<span style="background:#CEBF9B;"><em>CEB<br />F9B</em></span>
<span style="background:#D87C65;"><em>D87<br />C65</em></span>
<span style="background:#577570;"><em>577<br />570</em></span>
</li>
<li>
<span style="background:#383B42;"><em>383<br />B42</em></span>
<span style="background:#D05316;"><em>D05<br />316</em></span>
<span style="background:#FFF4D1;"><em>FFF<br />4D1</em></span>
<span style="background:#BFBFBF;"><em>BFB<br />FBF</em></span>
</li>
<li>
<span style="background:#B4A37E;"><em>B4A<br />37E</em></span>
<span style="background:#AC532F;"><em>AC5<br />32F</em></span>
<span style="background:#403A30;"><em>403<br />A30</em></span>
<span style="background:#302D16;"><em>302<br />D16</em></span>
</li>
<li>
<span style="background:#0E5E85;"><em>0E5<br />E85</em></span>
<span style="background:#099490;"><em>099<br />490</em></span>
<span style="background:#427738;"><em>427<br />738</em></span>
<span style="background:#FE9527;"><em>FE9<br />527</em></span>
</li>
<li>
<span style="background:#F234E6;"><em>F23<br />4E6</em></span>
<span style="background:#3191F1;"><em>319<br />1F1</em></span>
<span style="background:#2CB6F1;"><em>2CB<br />6F1</em></span>
<span style="background:#2FF1F1;"><em>2FF<br />1F1</em></span>
</li>
<li>
<span style="background:#D8A513;"><em>D8A<br />513</em></span>
<span style="background:#A55E0B;"><em>A55<br />E0B</em></span>
<span style="background:#722D05;"><em>722<br />D05</em></span>
<span style="background:#400202;"><em>400<br />202</em></span>
</li>
<li>
<span style="background:#92A60C;"><em>92A<br />60C</em></span>
<span style="background:#D1DA14;"><em>D1D<br />A14</em></span>
<span style="background:#FE9522;"><em>FE9<br />522</em></span>
<span style="background:#F18915;"><em>F18<br />915</em></span>
</li>
<li>
<span style="background:#B72948;"><em>B72<br />948</em></span>
<span style="background:#176CB6;"><em>176<br />CB6</em></span>
<span style="background:#F8D63C;"><em>F8D<br />63C</em></span>
<span style="background:#1D1E23;"><em>1D1<br />E23</em></span>
</li>
<li>
<span style="background:#691E7B;"><em>691<br />E7B</em></span>
<span style="background:#1489BE;"><em>148<br />9BE</em></span>
<span style="background:#DE0C66;"><em>DE0<br />C66</em></span>
<span style="background:#F1CC17;"><em>F1C<br />C17</em></span>
</li>
</ul><ul class="font">
<li><a href="">Blackoak</a></li>
<li><a href="">Clarendon</a></li>
<li><a href="">Gotham</a></li>
<li><a href="">Futura Bold</a></li>
<li><a href="">Hoefler Text</a></li>
<li><a href="">Museo Sans</a></li>
<li><a href="">Neutraface</a></li>
<li><a href="">Trade Gothic</a></li>
<li><a href="">Metro Script</a></li>
</ul><ul class="object">
<li>Put a Bird on It</li>
<li>Large Mammals</li>
<li>Small Mammals</li>
<li>Wings</li>
<li>Vehicles</li>
<li>Fish</li>
<li>Buildings</li>
<li>Flags</li>
<li>Liquid</li>
<li>Fire</li>
<li>Polka Dots</li>
<li>Stripes</li>
<li>Grass</li>
<li>Tools</li>
<li>Flowers</li>
<li>Lightning</li>
<li>Hearts</li>
</ul>
</div>
</div>
<div class="labels">
<span class="one">Object</span>
<span class="two">Theme</span>
<span class="three">Colors</span>
<span class="four">Font</span>
<span class="five">Graphic Element</span>
</div>
</div>
<p class="copyright">Copyright © 2012 Foster+Fitch. All rights reserved. Be cool. Use your powers for awesome. <a href="javascript: void(0)" id="share-it">Share</a> <a href="http://d.pr/f/OoGO/1tCRdGll">Fonts</a> <a href="http://d.pr/f/WyvQ/4VmqCTEj">Templates</a></p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="scripts/jquery.easing.1.3.js" type="text/javascript" charset="utf-8"></script>
<script src="scripts/jquery.jSlots.min.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
// normal example
$('.subject').jSlots({
spinner : '#playNormal',
number : 1
});
$('.theme').jSlots({
spinner : '#playNormal',
number : 1
});
$('.color').jSlots({
spinner : '#playNormal',
number : 1
});
$('.font').jSlots({
spinner : '#playNormal',
number : 1
});
$('.object').jSlots({
spinner : '#playNormal',
number : 1
});
// to get query parameters
var urlParams = {};
(function () {
var e,
a = /\+/g, // Regex for replacing addition symbol with a space
r = /([^&=]+)=?([^&]*)/g,
d = function (s) { return decodeURIComponent(s.replace(a, " ")); },
q = window.location.search.substring(1);
while (e = r.exec(q))
urlParams[d(e[1])] = d(e[2]);
})();
$(document).ready(function(){
urlParams["color"];
if(urlParams['theme']){
$('.theme').css('top',urlParams['theme']);
$('.color').css('top',urlParams['color']);
$('.font').css('top',urlParams['font']);
$('.object').css('top',urlParams['object']);
}else{
// no params to load
}
$('#share-it').click(function(){
var theme = $('.theme').css('top');
var color = $('.color').css('top');
var font = $('.font').css('top');
var object = $('.object').css('top');
alert('http://emptyweekend.com/matic/?theme='+theme+'&color='+color+'&font='+font+'&object='+object);
});
});
</script>
</body>
</html>