-
Notifications
You must be signed in to change notification settings - Fork 0
/
inapp-lecture.html
executable file
·484 lines (438 loc) · 14.5 KB
/
inapp-lecture.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
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
<!DOCTYPE html>
<!--
Google I/O 2011 HTML slides template
Created by Luke Mahé
and Marcin Wichary.
-->
<html>
<head>
<title>In-App Payments</title>
<meta charset='utf-8' />
<script
src='slides.js'></script>
</head>
<style>
/* Your individual styles here, or just use inline styles if that’s
what you want. */
</style>
<body style='display: none'>
<section class='slides layout-widescreen'>
<!-- Your slides (<article>s) go here. Delete or comment out the
slides below. -->
<article class='biglogo'>
</article>
<!-- INTRODUCTION -->
<article>
<h1>
Title 1
<br>
Title 2
</h1>
<p>
Name 1<br />
Name 2<br />
<br>
Date<br />
Speakermeter: LINK<br />
Twitter: #commerce @Name1 @Name 2
</p>
</article>
<!-- AGENDA -->
<article>
<h3>
Agenda
</h3>
<p>
<ul>
<li>Agenda Item 1</li>
<li>Agenda Item 2</li>
<li>Agenda Item 3</li>
<li>Agenda Item 4</li>
<li>Agenda Item 5</li>
<li>...</li>
</ul>
</p>
</article>
<!-- OVERVIEW -->
<article>
<h3>
Title + hidden overlapping images Slide
</h3>
<div class="hiddenbuild">
<img class='centered boxshadow' src='images_preso/buy_flow_1.png' style="margin-top:13%;"/>
<img class='centered boxshadow' src='images_preso/buy_flow_2.png' width='900' style="margin-top:3%;"/>
<img class='centered boxshadow' src='images_preso/buy_flow_3.png' width='900' style="margin-top:7%;"/>
<img class='centered boxshadow' src='images_preso/buy_flow_4.png' style="margin-top:7%;"/>
</div>
</article>
<!--ECOMMERCE PAIN POINTS -->
<article>
<h3>
Title + hidden table of graphics Slide
</h3>
<div>
<table class='centered noborder'>
<tr>
<td class='build'><img class='centered' src='images_preso/canon_t2i.jpg' width='250'/></td>
<td class='build'><img class='centered' src='images_preso/hiking_shoes.jpg' width='250' /></td>
<td class='build'><img class='centered build' src='images_preso/backpack.jpg' width='250'/></td>
</tr>
<tr>
<td class='build'><img class='centered' src='images_preso/external_buy_flow.png' width='250'></td>
<td class='build' style='padding-top:40px'><img class='centered' src='images_preso/credit_card.jpg' width='250' ></td>
<td class='build'><img class='centered' src='images_preso/nexus_s.jpg' height='250'></td>
</tr>
</table>
</div>
</article>
<!-- HOW CAN CHECKOUT HELP -->
<article>
<h3>
Table slide
</h3>
<div>
<table class='noborder'>
<tr class='build'>
<td>
<h4>Left Column</h4>
<ul>
<li>List Item 1</li>
<li>List Item 2</li>
<li>List Item 3</li>
</ul>
</td>
<td>
<h4>Right Column</h4>
<ul>
<li>List Item 1</li>
<li>List Item 2</li>
<li>List Item 3</li>
</ul>
</td>
</tr>
</table>
</div>
</article>
<!-- STATE OF GOOGLE CHECKOUT -->
<article>
<h3>
Title + 4 small images on top + 1 large bottom images
</h3>
<div>
<table class='centered noborder' style='padding-left:20%;padding-right:20%;' width='600' >
<tr>
<td class='smallermargins'><img class='centered' src='images_preso/android_market.png' height='125'/></td>
<td class='smallermargins'><img class='centered' src='images_preso/chrome_web_store.jpg' height='125'/></td>
<td class='smallermargins'><img class='centered' src='images_preso/apps_marketplace.png' height='125'/></td>
<td class='smallermargins'><img class='centered' src='images_preso/picasa.png' height='125'/></td>
</tr>
</table>
</div>
<div class='build'>
<img class='centered' src='images_preso/growthgraph.png' />
</div>
</article>
<!-- AGENDA - Integration Solutions -->
<article>
<h3>
Agenda Slide with Emphasis
</h3>
<p>
<ul>
<li>List Item 1</li>
<li class='emphasis'>List Item 2 Emphasized</li>
<li>List Item 3</li>
<li>List Item 4</li>
<li>...</li>
</ul>
</p>
</article>
<!-- Integration Solutions -->
<article>
<h3>
Title + list
</h3>
<p>
<ul>
<li>List Item 1</li>
<li>List Item 2</li>
<li>List Item 3</li>
<li>List Item 4</li>
</ul>
</p>
</article>
<!-- Buy Now Buttons -->
<article>
<h3>
Title + list with image
</h3>
<p>
<ul>
<li>List Item 1</li>
<li>List Item 2</li>
</ul>
</p>
<div>
<img class='centered' style='margin: 60px auto; height: 330px' src='images_preso/buy_now_b.png'>
</div>
</article>
<!-- CART XML -->
<article>
<h3>
Title + Code
</h3>
<section style='margin-top:5%'>
<pre>
<checkout-shopping-cart xmlns="http://checkout.google.com/schema/2">
<shopping-cart>
<items>
<item>
<item-name>HelloWorld 2GB MP3 Player</item-name>
<item-description>HelloWorld, the simple MP3 player</item-description>
<unit-price currency="USD">159.99</unit-price>
<quantity>1</quantity>
</item>
</items>
</shopping-cart>
...
</checkout-shopping-cart>
</pre>
</section>
</article>
<!-- Adding a Shopping Cart -->
<article class='asmaller'>
<h3>
Title + Code and Image
</h3>
<section>
<pre>
// Include Google shopping cart script
<script id='googlecart-script' type='text/javascript'
src='https://checkout.google.com/seller/gsc/v2_2/cart.js?mid=MID' currency='USD'>
</script>
</pre>
<pre class='anoprettyprint' style='width:600px;'>
// Add CSS annotations to products
<td class='product'>
<img class='product-image' src='cup.jpg'>
<div class='product-title'>Travel Mug</div>
<div class='product-price'>$8.02</div>
<div class='googlecart-add-button'></div>
</td>
</pre>
<img style='position:absolute; left: 800px; top: 320px; height: 230px' src='images_preso/mug.png'>
</section>
</article>
<!-- CUSTOMIZING THE SHOPPING CART -->
<article>
<h3>
Title + 3 snippets of code
</h3>
<section>
<pre>
// Control Location
<div id='googlecart-widget-control' googlecart-widget-control-align='left'
style='text-decoration:underline; height:30px'>Cart</div>
</pre>
<pre>
// Customize Style
.googlecart-override #googlecart-widget-head {background-color: transparent;}
.googlecart-override #googlecart-widget-body {border-top-width: 4px;}
</pre>
<pre>
// Customize Behavior
function googlecartBeforeAdd(item, index, newQuantity, opt_node);
function googlecartOnCheckoutClick(items, form);
</pre>
<!--
highlight-color='#FF7878'
cart-opening-time='1500'
-->
</section>
</article>
<!-- Integration Solutions Recap -->
<article>
<h3>
Title + Matrix
</h3>
<table style='margin-top: 50px; text-align:center;' class='comparison'>
<tr>
<th></th>
<th>
<img class='centered' src='images_preso/icon_buynow.jpg'>
Buy Now button
</th>
<th>
<img class='centered' src='images_preso/icon_store_gadget.gif'>
Store gadget
</th>
<th>
<img class='centered' src='images_preso/icon_ecom.jpg'>
Shopping cart(s)
</th>
</tr>
<tr>
<td>Technical Skill</td>
<td>Basic HTML</td>
<td>Basic HTML</td>
<td>Varies</td>
</tr>
<tr>
<td>Purpose</td>
<td>Single item per transaction</td>
<td>Multiple items per transaction</td>
<td>Multiple items per transaction</td>
</tr>
<tr>
<td>Features</td>
<td>Copy & Paste Simplicity</td>
<td>Copy & Paste Store</td>
<td>Powerful and Customizable</td>
</tr>
</table>
</article>
<!-- CHECKOUT APIS -->
<article>
<h3>
Title + building list
</h3>
<div class='build'style='margin-top:40px'>
<div>
<h4 style='margin-top:0px; margin-bottom:0px'>List Item 1</h4>
<ul style='margin-top:5px; margin-bottom:20px'>
<li>Sub List 1</li>
<li>Sub List 2</li>
</ul>
</div>
<div>
<h4 style='margin-top:0px; margin-bottom:0px'>List Item 2</h4>
<ul style='margin-top:5px; margin-bottom:20px'>
<li>Sub List 1</li>
<li>Sub List 2</li>
<li>Sub List 3</li>
</ul>
</div>
</div>
</article>
<!-- SERVER TO SERVER -->
<article>
<h3>
Title + Animation
</h3>
<div class="s2s">
<table class='noborder'>
<tr style="height:70px"><td colspan="5"></td></tr>
<tr>
<td class='columnspacingleft'></td>
<td class='arrowspacing build'><div class='nobotmargin'><p>Serve Page</p><img src='images_preso/arrowleft.png' /></div></td>
<td class='columnspacing'></td>
<td class='arrowspacing'></td>
<td class='columnspacingright'></td>
</tr>
<tr>
<td class='columnspacingleft'></td>
<td class='arrowspacing build'><div class='nobotmargin'><p>User Action</p><img src='images_preso/arrowright.png' /></div></td>
<td class='columnspacing'></td>
<td class='arrowspacing'></td>
<td class='columnspacingright'></td>
</tr>
<tr>
<td class='columnspacingleft'></td>
<td class='arrowspacing'></td>
<td class='columnspacing'></td>
<td class='arrowspacing build'><div class='nobotmargin'><p>Post Cart</p><img src='images_preso/arrowright.png' /></div></td>
<td class='columnspacingright'></td>
</tr>
<tr>
<td class='columnspacingleft'></td>
<td class='arrowspacing'></td>
<td class='columnspacing'></td>
<td class='arrowspacing build'><div class='nobotmargin'><p>Redirect URL Response</p><img src='images_preso/arrowleft.png' /></div></td>
<td class='columnspacingright'></td>
</tr>
<tr>
<td class='columnspacingleft'></td>
<td class='arrowspacing build'><div class='nobotmargin'><p>Pass URL to Client</p><img src='images_preso/arrowleft.png' /></div></td>
<td class='columnspacing'></td>
<td class='arrowspacing'></td>
<td class='columnspacingright'></td>
</tr>
<tr>
<td class='columnspacingleft'></td>
<td colspan='3' class='longarrow build'><div class='nobotmargin'><p>Redirect User To Checkout</p><img src='images_preso/largearrowright.png' /></div></td>
<td class='columnspacingright'></td>
</tr>
</table>
</div>
</article>
<!-- USERS -->
<article>
<h3>
Title + Custom Image sizing & location
</h3>
<div>
<div class='usersbooks'>
Books<br />
<img src='images_preso/books.png' height='125' />
</div>
<div class='usersyoutube'>
YouTube<br />
<img src='images_preso/youtube.png' height='125' />
</div>
<div class='userscws'>
Chrome<br />
Web Store<br />
<img src='images_preso/cws.png' height='125' />
</div>
<div class='usersandroidmarket'>
Android Market<br />
<img src='images_preso/androidmarket.png' height='125' />
</div>
<div style='margin-top:13%;'>
<img class='centered' src='images_preso/growthgraph.png' />
<div>
<div style='text-align:right' class='build'>
<p>And more, with more coming...</p>
</div>
<div>
</article>
<!-- Developers... -->
<article>
<h3>
Title + Table with red break bars
</h3>
<table class='noborder tablecenter'>
<tr>
<td style='border-right:dashed 2px rgb(255, 0, 0)'>
<img style='height: 300px;' src='images_preso/kid_easy.jpg'>
<p style='font-size:22px; text-align: center;'>
Text 1
</p>
</td>
<td style='border-right:dashed 2px rgb(255, 0, 0); width:300px'>
<img class='centered' style='height: 250px; margin-top:40px;' src='images_preso/tools.jpg'>
<p style='font-size:22px; text-align: center; margin-top:37px'>
Text 2
</p>
</td>
<td>
<img style='height: 220px; margin-top:50px;' src='images_preso/dev_community.jpg'>
<p style='font-size:22px; text-align: center; margin-top:50px'>
Text 3
</p>
</td>
</tr>
</table>
</article>
<!-- Q&A -->
<article>
<p style='font-size:80px; margin-top:260px; text-align: center;'>
Q&A
</p>
<p style='text-align: center;'>
Speakermeter: LINK<br />
Twitter: #commerce @Name1 @Name2
</p>
</article>
</body>
</html>