1
1
<!DOCTYPE html>
2
2
< html lang ="en ">
3
+
3
4
< head >
4
5
< meta charset ="utf-8 " />
5
- < meta
6
- name ="viewport "
7
- content ="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, viewport-fit=auto "
8
- />
6
+ < meta name ="viewport "
7
+ content ="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, viewport-fit=auto " />
9
8
< meta name ="apple-mobile-web-app-status-bar-style " content ="black-translucent " />
10
9
< meta name ="apple-mobile-web-app-capable " content ="yes " />
11
10
< meta http-equiv ="Cache-Control " content ="no-cache, no-store, must-revalidate " />
12
11
< meta http-equiv ="Pragma " content ="no-cache " />
13
12
< meta http-equiv ="Expires " content ="0 " />
14
13
15
- < link
16
- href ="assets/splashscreens/iphone5_splash.png "
14
+ < link href ="assets/splashscreens/iphone5_splash.png "
17
15
media ="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) "
18
- rel ="apple-touch-startup-image "
19
- />
20
- < link
21
- href ="assets/splashscreens/iphone6_splash.png "
16
+ rel ="apple-touch-startup-image " />
17
+ < link href ="assets/splashscreens/iphone6_splash.png "
22
18
media ="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) "
23
- rel ="apple-touch-startup-image "
24
- />
25
- < link
26
- href ="assets/splashscreens/iphoneplus_splash.png "
19
+ rel ="apple-touch-startup-image " />
20
+ < link href ="assets/splashscreens/iphoneplus_splash.png "
27
21
media ="(device-width: 621px) and (device-height: 1104px) and (-webkit-device-pixel-ratio: 3) "
28
- rel ="apple-touch-startup-image "
29
- />
30
- < link
31
- href ="assets/splashscreens/iphonex_splash.png "
22
+ rel ="apple-touch-startup-image " />
23
+ < link href ="assets/splashscreens/iphonex_splash.png "
32
24
media ="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) "
33
- rel ="apple-touch-startup-image "
34
- />
35
- < link
36
- href ="assets/splashscreens/iphonexr_splash.png "
25
+ rel ="apple-touch-startup-image " />
26
+ < link href ="assets/splashscreens/iphonexr_splash.png "
37
27
media ="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) "
38
- rel ="apple-touch-startup-image "
39
- />
40
- < link
41
- href ="assets/splashscreens/iphonexsmax_splash.png "
28
+ rel ="apple-touch-startup-image " />
29
+ < link href ="assets/splashscreens/iphonexsmax_splash.png "
42
30
media ="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) "
43
- rel ="apple-touch-startup-image "
44
- />
45
- < link
46
- href ="assets/splashscreens/iphone12_splash.png "
31
+ rel ="apple-touch-startup-image " />
32
+ < link href ="assets/splashscreens/iphone12_splash.png "
47
33
media ="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) "
48
- rel ="apple-touch-startup-image "
49
- />
50
- < link
51
- href ="assets/splashscreens/ipad_splash.png "
34
+ rel ="apple-touch-startup-image " />
35
+ < link href ="assets/splashscreens/ipad_splash.png "
52
36
media ="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) "
53
- rel ="apple-touch-startup-image "
54
- />
55
- < link
56
- href ="assets/splashscreens/ipadpro1_splash.png "
37
+ rel ="apple-touch-startup-image " />
38
+ < link href ="assets/splashscreens/ipadpro1_splash.png "
57
39
media ="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) "
58
- rel ="apple-touch-startup-image "
59
- />
60
- < link
61
- href ="assets/splashscreens/ipadpro3_splash.png "
40
+ rel ="apple-touch-startup-image " />
41
+ < link href ="assets/splashscreens/ipadpro3_splash.png "
62
42
media ="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) "
63
- rel ="apple-touch-startup-image "
64
- />
65
- < link
66
- href ="assets/splashscreens/ipadpro2_splash.png "
43
+ rel ="apple-touch-startup-image " />
44
+ < link href ="assets/splashscreens/ipadpro2_splash.png "
67
45
media ="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) "
68
- rel ="apple-touch-startup-image "
69
- />
46
+ rel ="apple-touch-startup-image " />
70
47
71
- < link
72
- rel ="apple-touch-icon "
73
- type ="image/png "
74
- sizes ="any "
75
- href ="assets/apple-touch-icon.png "
76
- />
77
- < link
78
- rel ="apple-touch-icon-precomposed "
79
- type ="image/png "
80
- sizes ="any "
81
- href ="assets/apple-touch-icon-precomposed.png "
82
- />
48
+ < link rel ="apple-touch-icon " type ="image/png " sizes ="any " href ="assets/apple-touch-icon.png " />
49
+ < link rel ="apple-touch-icon-precomposed " type ="image/png " sizes ="any "
50
+ href ="assets/apple-touch-icon-precomposed.png " />
83
51
< link rel ="icon " type ="image/png " href ="assets/favicon.png " />
84
52
< link rel ="stylesheet " href ="dev.css " />
85
53
@@ -174,11 +142,11 @@ <h3 id="header"></h3>
174
142
175
143
< footer >
176
144
< nav >
177
- < button id ="prev " onclick ="slidy.to(options.index - 1) "> ←</ button >
145
+ < button id ="prev " onclick ="slidy.to(options.index - 1, -100 ) "> ←</ button >
178
146
< button id ="reload " onclick ="getPhotos(node, utils.randomQ(1, 99), options.length) ">
179
147
< i class ="icon icon-refresh "> </ i >
180
148
</ button >
181
- < button id ="next " onclick ="slidy.to(options.index + 1 ) "> →</ button >
149
+ < button id ="next " onclick ="slidy.update({position: 1000} ) "> →</ button >
182
150
</ nav >
183
151
184
152
< nav id ="dots "> </ nav >
@@ -191,145 +159,69 @@ <h3 id="header"></h3>
191
159
192
160
< form >
193
161
< fieldset >
194
- < label title ="axis "
195
- > axis
196
- < select
197
- id ="axis "
198
- name ="axis "
199
- onchange ="slidy.update({ axis: this.value }) "
200
- > </ select >
162
+ < label title ="axis "> axis
163
+ < select id ="axis " name ="axis " onchange ="slidy.update({ axis: this.value }) "> </ select >
201
164
</ label >
202
- < label title ="snap "
203
- > snap
204
- < select
205
- id ="snap "
206
- name ="snap "
207
- onchange ="slidy.update({ snap: this.value }) "
208
- > </ select >
165
+ < label title ="snap "> snap
166
+ < select id ="snap " name ="snap " onchange ="slidy.update({ snap: this.value }) "> </ select >
209
167
</ label >
210
- < label title ="animation "
211
- > animation
212
- < select
213
- id ="animation "
214
- name ="animation "
215
- onchange ="slidy.update({ animation: animations[this.value] }) "
216
- > </ select >
168
+ < label title ="animation "> animation
169
+ < select id ="animation " name ="animation "
170
+ onchange ="slidy.update({ animation: animations[this.value] }) "> </ select >
217
171
</ label >
218
- < label title ="easing "
219
- > easing
220
- < select
221
- id ="easing "
222
- name ="easing "
223
- onchange ="slidy.update({ easing: easings[this.value] }) "
224
- > </ select >
172
+ < label title ="easing "> easing
173
+ < select id ="easing " name ="easing "
174
+ onchange ="slidy.update({ easing: easings[this.value] }) "> </ select >
225
175
</ label >
226
176
</ fieldset >
227
177
</ form >
228
178
229
179
< form >
230
180
< fieldset >
231
- < label title ="clamp "
232
- > clamp
233
- < input
234
- id ="clamp "
235
- onchange ="slidy.update({ clamp: +this.value }) "
236
- name ="clamp "
237
- type ="number "
238
- size ="1 "
239
- step ="1 "
240
- min ="0 "
241
- max ="3 "
242
- />
181
+ < label title ="clamp "> clamp
182
+ < input id ="clamp " onchange ="slidy.update({ clamp: +this.value }) " name ="clamp " type ="number "
183
+ size ="1 " step ="1 " min ="0 " max ="3 " />
243
184
</ label >
244
- < label title ="sensity "
245
- > sensity
246
- < input
247
- id ="sensity "
248
- onchange ="slidy.update({ sensity: +this.value }) "
249
- name ="sensity "
250
- type ="number "
251
- size ="2 "
252
- step ="1 "
253
- min ="0 "
254
- max ="100 "
255
- />
185
+ < label title ="sensity "> sensity
186
+ < input id ="sensity " onchange ="slidy.update({ sensity: +this.value }) " name ="sensity "
187
+ type ="number " size ="2 " step ="1 " min ="0 " max ="100 " />
256
188
</ label >
257
- < label title ="indent "
258
- > indent
259
- < input
260
- id ="indent "
261
- onchange ="slidy.update({ indent: +this.value }) "
262
- name ="indent "
263
- type ="number "
264
- size ="1 "
265
- step ="0.1 "
266
- min ="-2 "
267
- max ="2 "
268
- />
189
+ < label title ="indent "> indent
190
+ < input id ="indent " onchange ="slidy.update({ indent: +this.value }) " name ="indent " type ="number "
191
+ size ="1 " step ="0.1 " min ="-2 " max ="2 " />
269
192
</ label >
270
- < label title ="duration "
271
- > duration
272
- < input
273
- id ="duration "
274
- onchange ="slidy.update({ duration: +this.value }) "
275
- name ="duration "
276
- type ="number "
277
- size ="2 "
278
- step ="1 "
279
- min ="100 "
280
- max ="1000 "
281
- />
193
+ < label title ="duration "> duration
194
+ < input id ="duration " onchange ="slidy.update({ duration: +this.value }) " name ="duration "
195
+ type ="number " size ="2 " step ="1 " min ="100 " max ="1000 " />
282
196
</ label >
283
- < label title ="gravity "
284
- > gravity
285
- < input
286
- id ="gravity "
287
- onchange ="slidy.update({ gravity: +this.value }) "
288
- name ="gravity "
289
- type ="number "
290
- size ="1 "
291
- step ="0.1 "
292
- min ="0.1 "
293
- max ="2 "
294
- />
197
+ < label title ="gravity "> gravity
198
+ < input id ="gravity " onchange ="slidy.update({ gravity: +this.value }) " name ="gravity "
199
+ type ="number " size ="1 " step ="0.1 " min ="0.1 " max ="2 " />
295
200
</ label >
296
201
</ fieldset >
297
202
</ form >
298
203
299
204
< form >
300
205
< fieldset >
301
- < label title ="length "
302
- > length
303
- < input
304
- id ="length "
305
- onchange ="utils.changeLength(this) "
306
- name ="length "
307
- type ="number "
308
- size ="1 "
309
- step ="1 "
310
- min ="1 "
311
- max ="50 "
312
- />
206
+ < label title ="length "> length
207
+ < input id ="length " onchange ="utils.changeLength(this) " name ="length " type ="number " size ="1 "
208
+ step ="1 " min ="1 " max ="50 " />
313
209
</ label >
314
- < label title ="flow "
315
- > flow
210
+ < label title ="flow "> flow
316
211
< select id ="flow " name ="flow " onchange ="utils.setFlow(this.value) ">
317
212
< option > row</ option >
318
213
< option > row-reverse</ option >
319
214
< option > column</ option >
320
215
< option > column-reverse</ option >
321
216
</ select >
322
217
</ label >
323
- < label title ="width "
324
- > width
218
+ < label title ="width "> width
325
219
< input onchange ="utils.setVar(this) " name ="width " size ="4 " />
326
220
</ label >
327
- < label title ="height "
328
- > height
221
+ < label title ="height "> height
329
222
< input onchange ="utils.setVar(this) " name ="height " size ="5 " />
330
223
</ label >
331
- < label title ="gap "
332
- > gap
224
+ < label title ="gap "> gap
333
225
< input onchange ="utils.setVar(this) " name ="gap " size ="4 " />
334
226
</ label >
335
227
</ fieldset >
@@ -375,33 +267,23 @@ <h3>
375
267
< h2 > Packages</ h2 >
376
268
< ul >
377
269
< li >
378
- < a href ="https://github.com/Valexr/slidy/tree/master/packages/core "
379
- > @slidy/core</ a
380
- >
270
+ < a href ="https://github.com/Valexr/slidy/tree/master/packages/core "> @slidy/core</ a >
381
271
- Core sliding script
382
272
</ li >
383
273
< li >
384
- < a href ="https://github.com/Valexr/slidy/tree/master/packages/media "
385
- > @slidy/media</ a
386
- >
274
+ < a href ="https://github.com/Valexr/slidy/tree/master/packages/media "> @slidy/media</ a >
387
275
- Observable media
388
276
</ li >
389
277
< li >
390
- < a href ="https://github.com/Valexr/slidy/tree/master/packages/easing "
391
- > @slidy/easing</ a
392
- >
278
+ < a href ="https://github.com/Valexr/slidy/tree/master/packages/easing "> @slidy/easing</ a >
393
279
- Easing functions
394
280
</ li >
395
281
< li >
396
- < a href ="https://github.com/Valexr/slidy/tree/master/packages/animation "
397
- > @slidy/animation</ a
398
- >
282
+ < a href ="https://github.com/Valexr/slidy/tree/master/packages/animation "> @slidy/animation</ a >
399
283
- Animation functions
400
284
</ li >
401
285
< li >
402
- < a href ="https://github.com/Valexr/slidy/tree/master/packages/svelte "
403
- > @slidy/svelte</ a
404
- >
286
+ < a href ="https://github.com/Valexr/slidy/tree/master/packages/svelte "> @slidy/svelte</ a >
405
287
- SvelteJS template
406
288
</ li >
407
289
</ ul >
@@ -444,4 +326,5 @@ <h2>Thanks 🎉</h2>
444
326
</ article >
445
327
< br />
446
328
</ body >
447
- </ html >
329
+
330
+ </ html >
0 commit comments