-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
329 lines (260 loc) · 10.3 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Mobile Webapp - Theory and Technique | by Stefano Sergio</title>
<meta name="description" content="**description" />
<meta name="author" content="Stefano Sergio" />
<link href="css/normalize.css" rel="stylesheet" />
<link href="impressjs/css/impress-demo.css" rel="stylesheet" />
<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
</head>
<body>
<div id="impress" data-width="1500" data-height="800">
<div id="map" class="step background" data-x="0" data-y="0" data-scale='1'>
<img id="mainScheme" src='imgs/presentazione_stefano.png' width="100%" />
</div>
<div id="present" class="step" data-x="-460" data-y="-210" data-rotate-x="90" data-scale='0.3' data-z="0">
<div class="basic">
<p class="medium">Mobile Webapp</p>
<p class="small"><i>Theory and Technique</i></p>
</div>
</div>
<div id="start" class="step" data-x="0" data-y="0" data-rotate-x="0" ></div>
<!--DATA SOURCE -->
<div id="performance-datasource" class="step " data-x="5" data-y="158" data-scale='0.2' >
<h3>Performance</h3>
<ul>
<li>One Ajax Request -> Lots of Views</li>
</ul>
</div>
<div id="optimization-datasource" class="step " data-x="250" data-y="150" data-scale='0.2' >
<h3>Optimization</h3>
<ul>
<li>Handle all data-requests with one Class</li>
<li>...that Must also handle the data stream</li>
</ul>
</div>
<div id="zoom-datasource" class="step " data-x="606" data-y="256" data-scale='0.2' >
<h3>Data Source</h3>
<ul>
<li>Handles XHR and Local Requests</li>
<li>Parses Data</li>
<li>Stores Data in memory</li>
<li>Dispatch events about data </li>
</ul>
</div>
<div id="resumee-2" class="step" data-x="-0" data-y="0" data-scale='1' ></div>
<!-- CACHING -->
<!--SWIPE-->
<div id="usability-gestures" class="step" data-x="-30" data-y="-131" data-scale='0.2' >
<h3>Usability</h3>
<ul>
<li>“It is far better to adapt the technology to <br>the user than to force the user to adapt <br>to the technology.” – Larry Marine</li>
</ul>
</div>
<div id="user-interface" class="step " data-x="270" data-y="-30" data-scale='0.2' >
<h3>User Interface</h3>
<ul>
<li>“A picture is worth a thousand words. An interface is worth a thousand pictures.” - Ben Shneiderman</li>
<li>"Don't worry Ben, already we make webapp thousand pictures". - Stefano Sergio</li>
</ul>
</div>
<div id="gestures" class="step " data-x="610" data-y="-39" data-scale='0.2' >
<h3>Gestures</h3>
<ul>
<li>The insane compulsion for users to touch the screen</li>
</ul>
</div>
<!-- PAGINATOR -->
<div id="gui-swipable" class="step" data-x="260" data-y="-197" data-scale='0.2' >
<h3>GUI</h3>
<ul style="margin-top: 1em; max-width: 700px">
<li>We want a lot of grids and the user should swipe among them</li>
</ul>
</div>
<div id="performance-paginator" class="step " data-x="5" data-y="158" data-scale='0.2' >
<h3>Performance</h3>
<ul style="margin-top: 0;">
<li>Smooth and fluid transitions among Grids</li>
</ul>
</div>
<div id="optimization-paginator" class="step " data-x="250" data-y="150" data-scale='0.2' >
<h3>Optimization</h3>
<ul>
<li>Too much grids will kill you</li>
<li>...besides you'll probably never see <br>all those data</li>
</ul>
</div>
<div id="zoom-paginator" class="step " data-x="608" data-y="84" data-scale='0.2' >
<h3>Paginator</h3>
<ul>
<li>It only renders three grids and then...</li>
<li>recycle them for all data</li>
</ul>
</div>
<div id="paginator-demo-current" class="step demo-slide " data-x="800" data-y="94" data-rotate-y="90" data-scale='0.1' >
<div id="demo-prev-page" style='opacity:0.5;' ><img id="paginator-img" src='imgs/01-prev.jpg' /></div>
<div style='left:365px;'><img id="paginator-img" src='imgs/01-current.jpg' /></div>
</div>
<div id="paginator-demo-next" class="step demo-slide " data-x="800" data-y="94" data-rotate-y="90" data-z="-25" data-scale='0.1' >
<div style='left:440px;'><img id="paginator-img" src='imgs/01-next.jpg' /></div>
</div>
<div id="paginator-demo-future" class="step demo-slide " data-x="800" data-y="94" data-rotate-y="90" data-z="-25" data-scale='0.1' >
</div>
<div id="paginator-demo-new" class="step demo-slide " data-x="800" data-y="94" data-rotate-y="90" data-z="-25" data-scale='0.1' >
<div style='left:765px;'><img id="paginator-img" src='imgs/01-new.jpg' /></div>
</div>
<div id="resumee-3" class="step" data-x="-0" data-y="0" data-scale='1' ></div>
<div id="gui-carousel" class="step" data-x="260" data-y="-197" data-scale='0.2' >
<h3>GUI</h3>
<ul style="margin-top: 1em;">
<li>A carousel with an 'infinite' effect</li>
</ul>
</div>
<div id="zoom-carousel" class="step" data-x="510" data-y="-150" data-scale='0.2' >
<h3>Carousel</h3>
<ul>
<li>Handles any number of images</li>
<li>Creates an 'inifnite' effect adding a copy of the first and the last image </li>
</ul>
</div>
<div id="demo-carousel" class="step carousel" data-x="900" data-y="-75" data-rotate-y='90' data-scale='0.2' style="width:1530px" >
<ul style="list-style: none; margin: 0px; height:143px; overflow: visible">
<li data-index="3" data-fake="true" style="display: inline-block; width: 281px;"></li>
<li data-index="0" style="display: inline-block; width: 281px;">
<img src="http://s.appsfuel.com/appimages/388/promo/image.jpg"></li>
<li data-index="2" style="display: inline-block; width: 281px;">
<img src="http://s.appsfuel.com/appimages/382/promo/image.jpg"></li>
<li data-index="3" style="display: inline-block; width: 281px;">
<img src="http://s.appsfuel.com/appimages/341/promo/image.jpg"></li>
</ul>
</div>
<div id="demo-carousel-2" class="step carousel" data-x="900" data-y="-75" data-rotate-y='90' data-scale='0.2' style="width:1530px" >
<ul style="list-style: none; margin: 0px; height:143px;">
<li data-index="3" data-fake="true" style="display: inline-block; width: 281px;">
<img src="http://s.appsfuel.com/appimages/341/promo/image.jpg"></li>
<li data-index="0" style="display: inline-block; visibility:hidden; width: 281px;"></li>
<li data-index="2" style="display: inline-block; visibility:hidden; width: 281px;"></li>
<li data-index="3" style="display: inline-block; visibility:hidden; width: 281px;"></li>
<li data-index="0" data-fake="true" style="display: inline-block; width: 281px;">
<img src="http://s.appsfuel.com/appimages/388/promo/image.jpg"></li>
</ul>
</div>
<div id="staytuned" class="step" data-x="-760" data-y="-210" data-rotate-y="-90" data-scale='0.3' data-z="0">
<div class="basic">
<p class="medium">"If only I had a mobile framework..."</p>
<p class="small">Stay Tuned for the <br><i>Appsfuel mobile-oriented Framework</i></p>
</div>
</div>
<div id="thanks" class="step" data-x="-760" data-y="-210" data-rotate-y="-180" data-scale='0.3' data-z="0">
<div class="basic">
<h5></h5>
<p class="medium">Special Thanks</p>
<div class="small"><br>Jessica Ciccolone | <i>Graphic Designer</i></div>
<div class="small"><br>Andrea De Marco | <i>Python Fundamentalist</i></div>
</div>
</div>
</div>
</body>
<style type="text/css">
.background { opacity: 1 !important; }
#mainScheme{
width: 100%;
}
#demo-paginator {
height: 800px;
}
.step {
/*min-height: 500px;
max-height: 1000px;*/
font-size: 2.2em;
font-family: Tahoma;
backface-visibility:hidden;
-webkit-backface-visibility:hidden;
-moz-backface-visibility:hidden;
width: 1500px;
min-height: 600px;
}
.step:not(.active) { opacity: 0.1; }
.red {
background: red;
}
.step ul {
max-width: 2030px;
}
.step li {
font-size: 1.5em;
}
h3 {
margin: 0;
padding: 0;
font-size: 4.5em;
margin-bottom: 0.3em;
}
.demo-slide img{
border: 3px dotted royalblue;
}
.demo-slide > div{
position: absolute;
}
.demo-slide {
width: 1200px;
position: absolute;
}
.demo-slide.step:not(.active) {
opacity: 0.5;
}
#demo-prev-page {
transition-duration: 2s;
-moz-transition-duration: 2s;
-webkit-transition-duration: 2s;
-o-transition-duration: 2s;
}
#paginator-demo-new {
display: none;
}
.basic {
font-size: 3em;
}
.step ul {
}
.carousel li img {
height: 100%;
width: auto;
}
.medium{
font-size: 125px;
}
.small {
margin-top: 90px;
font-size: 65px;
}
</style>
<script src="impressjs/js/impress.js"></script>
<script>
document.addEventListener( "DOMContentLoaded", function(){
impress().init();
var root = impress().root;
root.addEventListener("impress:stepenter", function (event) {
if (event.target.id == 'paginator-demo-future') {
var prev = document.querySelector("#demo-prev-page");
//prev.style['-moz-transition-duration'] = prev.style['-webkit-transition-duration'] = '4s';
prev.style.MozTransform = prev.style.webkitTransform = 'translate3d(975px,0,0)';
prev.style.opacity = 1;
document.querySelector("#demo-prev-page").style.opacity = 1
}
else if (event.target.id == 'paginator-demo-new') {
document.querySelector("#demo-prev-page").style.display = 'none';
document.querySelector("#paginator-demo-new").style.display = 'block';
}
});
root.addEventListener("impress:stepleave", function (event) {
if (event.target.id == 'grid-recycle') {
document.querySelector("#mainScheme").display = 'none';
console.log('ENTER',event);
}
});
});
</script>
</html>