forked from secretrobotron/popcorn-maker
/
index.html
452 lines (400 loc) · 22 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
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
<!doctype html>
<html lang="en" class="no-js">
<head>
<link rel="icon" href="images/icon.ico" type="image/x-icon" />
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Popcorn Maker</title>
<meta name="description" content="">
<meta name="author" content="">
<!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width; initial-scale=1.0">
<!-- Replace favicon.ico & apple-touch-icon.png in the root of your domain and delete these references -->
<link rel="shortcut icon" href="/favicon.ico">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="lib/trackLiner.css">
<link rel="stylesheet" href="css/popcorn-maker.css">
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.15/themes/base/jquery-ui.css" rel="stylesheet" type="text/css">
<!-- All JavaScript at the bottom, except for Modernizr which enables HTML5 elements & feature detects -->
<script src="lib/modernizr-1.5.min.js"></script>
<script src="lib/jquery.min.js"></script>
<script charset="utf-8" type="text/javascript" src="lib/jquery.infieldlabel.min.js"></script>
<script type="text/javascript" src="lib/jquery.tinyscrollbar.min.js"></script>
<script type="text/javascript" src="lib/slides.min.jquery.js"></script>
<script type="text/javascript" src="lib/jquery_002.js"></script>
<script src="lib/jquery-ui.js" type="text/javascript"></script>
<script type="text/javascript" src="lib/jquery.qtip.pack.js"></script>
<script src="lib/trackLiner.js" type="text/javascript"></script>
<script src="lib/butter.js" type="text/javascript"></script>
<script src="js/popcorn-maker.js" type="text/javascript"></script>
</head>
<body>
<!-- ########## START HEADER ########## -->
<header>
<h1 class="logo"><a href="#"><img class="logo-popcorn-maker" src="images/icon.ico" width="20" height="20" />Popcorn Maker</a></h1>
<div class="header-right">
<div class="my-projects-drpdwn">
<select name="projects-dd" class="projects-dd" style="width:258px;" tabindex="1">
</select>
<ul class="actions"><li class="bubble_pointer"></li>
<li class="edit"><a class="edit-selected-project" title="Edit Project" href="#">edit</a></li>
</ul>
</div>
<form action="">
<ul class="header-buttons">
<li class="add-btn"><input type="button" class="add-project-btn" name="add-project" value="" ></li>
<li class="save-btn"><input type="button" class="save-project-btn p-3" name="save-project" value="" ></li>
<li class="help-btn"><a class="open-help" href="#">help</a></li>
</ul>
</form>
</div>
</header>
<!-- ########## END HEADER ########## -->
<!-- ########## START IFRAME SECTION ########## -->
<iframe id="main">
</iframe>
<!-- ########## END IFRAME SECTION ########## -->
<!-- ########## START HIDE TIMELINE BUTTON ########## -->
<div class="hide-timeline">
<a href="#" >Hide Timeline</a>
</div>
<!-- ########## END HIDE TIMELINE BUTTON ########## -->
<!-- ########## START PROPERTIES PANEL ########## -->
<section id="properties-panel">
<!-- ***** START PROPERTIES HEADER ***** -->
<div class="properties-header">
<div class="timeline-heading">
<a href="#" class="timeline-title media-title-div">No Media</a>
<ul class="actions"><li class="bubble_pointer"></li><li class="edit"><a href="#">edit</a></li></ul>
</div>
</div>
<!-- ***** END PROPERTIES HEADER ***** -->
<!-- ***** START TOOLBOX ***** -->
<div class="enable-scroll tiny-scroll toolbox collapsed">
<div class="collapse-btn collapse"><a href="#">Collapse</a><span></span></div>
<!-- ***** START SCROLLBAR ***** -->
<div class="scrollbar">
<div class="track">
<div class="thumb">
<div class="end">
</div>
</div>
</div>
</div>
<!-- ***** END SCROLLBAR ***** -->
<!-- ***** START VIEWPORT ***** -->
<div class="viewport">
<div class="overview">
<script type="text/javascript">
window.fileSizes = {"stable":{"core":false,"plugins[bgiframe]":false},"nightly":{"core":54710}};
</script>
<div id="contentheader">
<ul class="tools" id="plugin-tray">
</ul>
</div>
</div>
</div>
<!-- ***** END SCROLLBAR ***** -->
</div>
<!-- ***** END TOOLBOX ***** -->
<!-- ***** START TIMELINE ***** -->
<div id="timeline" class="timeline">
<!-- ***** START PLAYBACK CONTROLS ***** -->
<div class="playback-controls">
<div class="play-btn"><a href="#"><span >play/pause</span></a></div>
<div class="timeline-duration" id="timeline-duration">00:00:00</div>
<div class="timeline-progress-wrapper disable-select">
<div id="scrubber-container" class="disable-select" style="z-index: 1; position: relative;">
<div id="scrubber-interact" class="disable-select" style="position: absolute; left: 0px; top: -10px; height: 400%; width: 100%;"></div>
<div class="timeline-bar disable-select">
<div id="progress-bar" class="timeline-progress-bar disable-select">
<div id="scrubber" class="current-line disable-select">
<div style="left: -5px"class="current-white disable-select">
</div>
</div>
</div>
</div>
</div>
<!-- ***** TIMING NOTCHES ***** -->
<div class="timing-notches-div disable-select">
<canvas id="timing-notches-canvas" class="disable-select"></canvas>
</div>
<!-- ***** END TIMING NOTCHES ***** -->
</div>
<div class="sound-btn"><a href="#"><span >play/pause</span></a></div>
</div>
<!-- ***** END PLAYBACK CONTROLS ***** -->
<!-- ***** START LAYERS PANEL ***** -->
<div class="enable-scroll">
<!-- ***** START VIEWPORT ***** -->
<div style="color: white; overflow: hidden; position: absolute; width: 180px; height: 108px;"><div style="position: absolute;" class="timeline-div" id="layers-div" >
</div></div>
<div align="center" style="position:absolute; bottom:0; margin-left:7px; width:93px; height:16px; margin-bottom:10px;"><div id="slider"></div></div>
<div class="viewport" id="tracks-div" style="position: absolute; overflow: scroll; left: 120px; right: 10px;">
<!--<div class="timeline-left timeline-div"></div>-->
<div class="overview timeline-right timeline-div" id="timeline-div">
</div>
</div>
<!-- ***** END VIEWPORT ***** -->
</div>
<!-- ***** END LAYERS PANEL ***** -->
</div>
<!-- ***** END TIMELINE ***** -->
</section>
<!-- ########## END PROPERTIES PANEL ########## -->
<!-- ########## START POPUPS ########## -->
<div class="popupDiv close-div">
<div class="balck-overlay"></div>
<div class="popup-container">
<div id="popup-1" class="popup-1 pop-up close-div draggable" style="display:none"> <!-- popup 1 -->
<a class="popup-close-btn" href="#"><span></span></a>
<div class="popup-header">
<h3>Change timeline media</h3>
</div>
<div class="popup-content">
<p>
<label for="url">url: </label>
<input type="text" name="url" id="url" value="">
</p>
<input type="submit" class="change-url-btn" value="change">
<p class="desc">Show us where your video file lives. Youtube and Vimeo embeds work too.<a href="#">Learn more about what kind videos work...</a></p>
<div class="popup-btns">
<input type="submit" class="ok-btn" value="Ok">
<input type="submit" class="apply-btn" value="Apply">
<input type="submit" class="preview-btn" value="Preview">
</div>
</div>
</div><!-- end popup 1 -->
<div id="popup-2" class="popup-2 pop-up close-div draggable" style="display:none"> <!-- popup 2 -->
<a class="popup-close-btn" href="#"><span></span></a>
<div class="popup-header">
<h3>Track</h3>
<div class="tracks-drpdwn">
<select name="projects-dd" class="projects-dd" style="width:258px;" tabindex="1">
<option name="one" value="msDropDown" >msDropDown</option>
<option name="two" value="PrototypeCombobox" >Prototype Combobox</option>
<option selected="selected" value="jQuery Tabs" >jQuery Tabs</option>
<option value="Common Accordion" >Common Accordion</option>
</select>
</div>
</div>
<div class="popup-content">
<div class="track-content">
<p></p>
</div>
<div class="popup-btns">
<input type="submit" class="ok-btn" value="Ok">
<input type="submit" class="apply-btn" value="Apply">
<input type="submit" class="preview-btn" value="Preview">
</div>
</div>
</div><!-- end popup 2 -->
<div id="popup-3" class="popup-3 pop-up close-div" style="display:none"> <!-- popup 3 -->
<a class="popup-close-btn" href="#"><span></span></a>
<div class="popup-header">
<h3>Save / Export</h3>
</div>
<div class="popup-content">
<input type="button" class="show-json-btn" name="show-json-btn" value="Project JSON" />
<input type="button" class="show-html-btn" name="show-html-btn" value="html" />
<div class="track-content">
</div>
<p class="track-text html-text show-text">Copy this html code somewhere! or try <a href="#">htmlpad.org</a></p>
<p class="track-text json-text hide-text">Copy this Project data somewhere to backup your work!</p>
<div class="download-html">
<!--<input type="submit" class="download-btn" name="download-btn" value="Download as HTML">-->
<label class="save-prj-lbl" for="project-title-textbox">Title:</label><input type="text" class="project-title-textbox" name="project-title-textbox" >
<input type="submit" class="save-project-data-btn" name="save-project-data-btn" value="Save Project">
</div>
</div>
</div><!-- end popup 3 -->
<div id="popup-4" class="popup-4 pop-up close-div draggable" style="visibility: hidden;"> <!-- popup 4 -->
</div><!-- end popup 4 -->
<div id="popup-5" class="popup-5 pop-up close-div draggable" style="display:none"> <!-- popup 5 -->
<span style="color: white;">Target Elements: </span><select id="track-edit-target" class="edit-track-button"></select><br/>
<textarea rows="21" cols="51" id="track-edit-JSON"></textarea>
<button id="cancel-track-edit" class="edit-track-button">close</button>
<button id="apply-track-edit" class="edit-track-button">apply</button>
<button id="ok-track-edit" class="edit-track-button">ok</button>
<button id="delete-track-edit" class="edit-track-button">delete</button>
<button id="clear-track-edit" class="edit-track-button">clear</button>
</div><!-- end popup 5 -->
<div id="popup-add-project" class="popup-5 pop-up close-div draggable" style="display:none"> <!-- popup-add-project -->
<a class="popup-close-btn" href="#"><span></span></a>
<div class="popup-header">
<h3>Load / Create New Project</h3>
</div>
<div id="load-create-popup" class="popup-content">
<textarea class="project-json"></textarea>
<div id="load-create-popup-content" class="download-html">
<input id="media-url" type="text" value="http://videos-cdn.mozilla.net/serv/webmademovies/Moz_Doc_0329_GetInvolved_ST.webm" />
<select id="layout-select"></select>
<input type="submit" class="load-code-btn" name="load-code-btn" value="Load Project from JSON">
<input type="submit" class="create-new-btn" name="create-new-btn" value="New Project">
</div>
</div>
</div><!-- end popup-add-project -->
<div id="popup-delete-track" class="popup-project-title pop-up close-div draggable" style="display:none">
<a class="popup-close-btn" href="#"><span></span></a>
<div class="popup-header">
<h3>Delete Track</h3>
</div>
<div class="popup-content">
<br />
<input id="deleteTrackBtn" type="submit" class="change-title-btn" value="Yes">
<p class="desc">Are you sure you want to delete this track?</p>
</div>
</div>
<div id="popup-project-title" class="popup-project-title pop-up close-div draggable" style="display:none"> <!-- popup-project-title -->
<a class="popup-close-btn" href="#"><span></span></a>
<div class="popup-header">
<h3>Edit Title</h3>
</div>
<div class="popup-content">
<p>
<label for="project-title">Title</label>
<input type="text" name="project-title" id="project-title" value="">
</p>
<br />
<input type="submit" class="change-title-btn" value="change">
<p class="desc">Use this dialog to Change the title of the selected Popcorn Maker Project.</p>
</div>
</div><!-- end popup popup-project-title -->
<div id="load-confirmation-dialog" class="popup-project-title pop-up close-div draggable" style="display:none" >
<a class="popup-close-btn load" href="#"><span></span></a>
<div class="popup-header">
<h3>Load Project?</h3>
</div>
<div class="popup-content">
<p class="desc">Loading the selected project will erase any unsaved changes to the current project. Ar you sure you wish to continue?</p>
<input type="submit" class="confirm-load-btn" value="Load Project">
</div>
</div>
</div>
</div>
<!-- ########## END POPUPS ########## -->
<div id="loading-overlay">
<h1>Loading...</h1>
</div>
<!-- ###### FIRST RUN POPUPS ######## -->
<div id="welcome-popup"><!-- welcome popup -->
<a class="help-close-btn" href="#"><span></span></a>
<div class="popup-header">
<h3 class="welcome-header">Welcome</h3>
</div>
<div class="scroll-popup-container">
<div class="padding-div">
<h1>Welcome to Popcorn Maker</h1>
<h3 class="welcome-h3">Let's make some popcorn.</h3>
<h4>I want to Jump Right in!</h4>
<a href="#" class="wizard-create-new-btn wizard-create-new-btn">New Project</a>
<p>OR</p>
<h4>Help me get started</h4>
<a href="#" class="tutorial-btn">Tutorial</a>
<a href="#" class="mozilla-logo"><img src="images/logo_mozilla.png" width="109" height="28" alt="Mozilla Logo"></a>
<p class="copyright">©2011<a href="#">Terms of services</a><a href="#">Fork me</a><a href="#">Popcorn.js.home</a><a href="#">Contact</a></p>
</div>
<div class="padding-div">
<h1>Welcome to Popcorn Maker</h1>
<h3>Let's make some popcorn.</h3>
<div class="left-div">
<p class="desc">Popcorn Maker is a fun and easy way to make interactive open video pages. Here's how to get started:</p>
<ul class="">
<li><span>1</span><p>Make a new project with</p> <div class="add-btn"><input type="button" class="wizard-add-project-btn p-5" style="height: 24px; width: 24px;" name="add-project" value="" ></div> <p>You can pick a template or <a href="index.html#">design your own</a>.</p></li>
<li><span>2</span><p>Use Popcorn Maker to add actions to the timeline of your video.</p></li>
<li><span>3</span><p>When you're done, export using</p><img class="image-icon" src="images/save-btn.png" alt=""></li>
</ul>
<div class="checkout"> <p>for more, checkout the</p><div class="help-btn"><a class="open-help" href="#">user manual</a></div> </div>
</div>
<div class="right-div">
</div>
</div>
</div>
</div><!-- End welcome popup -->
<div id="help-popup"><!-- HELP popup -->
<a class="help-close-btn" href="#"><span></span></a>
<div class="popup-header">
<h3>Help</h3>
</div>
<div class="help-header">
<h1>Popcorn Maker Help</h1>
<div class="social">
<ul class="">
<li class="mozilla-labs"><a href="#" class="">Mozilla Labs</a></li>
<li class="twitter"><a href="#" class="">Twitter</a></li>
<li class="facebook"><a href="#" class="">Facebook</a></li>
</ul>
</div>
</div>
<div class="scroll-popup-container">
<div class="help-main padding-div">
<div class="inner">
<h2>About Popcorn Maker</h2>
<p>Popcorn Maker is a fun and easy way to make interactive open video pages. You can use it here or install it on your own site. We have a final cut version available too.</p> <p>Crafted lovingly by the Mozilla Foundation and the popcorn.js team.<a href="index.html#" class="learn-more">Learn more »</a></p>
<div class="help-section">
<section class="getting-started">
<h2>Getting Started</h2>
<ul class="">
<li class="users-manual"><a href="#" id="_user_manual">Users Manual</a></li>
<li class="tutorials"><a href="#" id="_tutorials">Tutorials</a></li>
</ul>
</section>
<section class="contribute">
<h2>Contribute</h2>
<ul class="">
<li class="submit-template"><a href="#" id="_submit_template">Submit a Template</a></li>
<li class="file-a-bug"><a href="#" id="_file_a_bug">File a bug</a></li>
<li class="download-sdk"><a href="#" id="_download_sdk">Download the Butter SDK <span>and integrate Popcorn into your app.</span></a></li>
</ul>
</section>
<section class="partners">
<h2>Partners</h2>
<ul class="">
<li class="">CDOT</li>
<li class="">Zero Divide</li>
<li class="">BAVC</li>
</ul>
</section>
<a href="#" class="mozilla-logo"><img src="images/logo_mozilla.png" width="109" height="28" alt="Mozilla Logo"></a>
<p class="copyright">©2011<a href="#">Terms of services</a><a href="#">Fork me</a><a href="#">Popcorn.js.home</a><a href="#">Contact</a></p>
</div>
</div>
</div>
<div class="popup-inner users_manual padding-div">
<div class="inner">
<h2>User's Manual</h2>
<div class="user-manual-dropdown">
<select name="websites2" class="websites2" style="width:258px;" tabindex="1">
<option name="one" value="msDropDown" >msDropDown</option>
<option name="two" value="PrototypeCombobox" >Prototype Combobox</option>
<option selected="selected" value="jQuery Tabs" >jQuery Tabs</option>
<option value="Common Accordion" >Common Accordion</option>
</select>
</div>
<div class ="slides faq">
<ul class="slides_container faqs">
<li>
<h2>Part I: What is Popcorn Maker?</h2>
<p>Popcorn Maker is a fun and easy way to make interactive open video pages. You can use it here or install it on your own site. We have a final cut version available too.</p><p>Popcorn Maker is a fun and easy way to make interactive open video pages. You can use it here or install it on your own site. We have a final cut version available too.</p>
</li>
<li>
<h2>Part 2: What is Popcorn Maker?</h2>
<p>Popcorn Maker is a fun and easy way to make interactive open video pages. You can use it here or install it on your own site. We have a final cut version available too.</p><p>Popcorn Maker is a fun and easy way to make interactive open video pages. You can use it here or install it on your own site. We have a final cut version available too.</p>
</li>
<li>
<h2>Part 3: What is Popcorn Maker?</h2>
<p>Popcorn Maker is a fun and easy way to make interactive open video pages. You can use it here or install it on your own site. We have a final cut version available too.</p><p>Popcorn Maker is a fun and easy way to make interactive open video pages. You can use it here or install it on your own site. We have a final cut version available too.</p>
</li>
<li>
<h2>Part 4: What is Popcorn Maker?</h2>
<p>Popcorn Maker is a fun and easy way to make interactive open video pages. You can use it here or install it on your own site. We have a final cut version available too.</p><p>Popcorn Maker is a fun and easy way to make interactive open video pages. You can use it here or install it on your own site. We have a final cut version available too.</p>
</li>
</ul>
</div>
</div>
</div>
</div>
</div><!-- END HELP popup -->
<!-- ###### END FIRST RUN POPUPS ######## -->
</body>
</html>