forked from h5bp/mothereffinganimatedgif
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
147 lines (117 loc) · 6.58 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
<!doctype html>
<!--[if lte IE 8]><html class="no-js oldie shitty shit" lang="en"><![endif]-->
<!--[if gt IE 8]><!--><html class="no-js" manifest="cache.manifest" lang="en"><!--<![endif]-->
<head>
<!--
OMG thanks for viewing the source.
You're awesome.
Tech we used to build this:
__ HTML5 drag n drop, FileReader,
/ _) a[download], GIF encoding on the client, BlobBuilder,
.-^^^-/ / postMessage, <input type=range> (with Firefox polyfill),
__/ / appcache, transforms, transitions,
<__.|_|-|_| * { box-sizing : border-box; }
See the header and footer for github links and the people involved! ♥
-->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Mothereffing animated gif</title>
<meta name="description" content="Drag and drop images from your desktop into the app. You can rotate and drag them. And generate your animated GIF! May even work while you're disconnected!">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,400,700,800|Alfa+Slab+One|Patua+One" rel="stylesheet">
<link rel="stylesheet" href="assets/css/styles.css">
<!-- cache & network update notification -->
<!-- http://blog.grayghostvisuals.com/wordpress/cache-manifest-for-wordpress -->
<script src="assets/js/cache.update.js"></script>
<!-- uncommment for pretty notification update alerts -->
<!--<script src="assets/js/network.status.js"></script>-->
</head>
<body>
<img src="assets/img/project_approved.png" alt="This animated gif maker has been speed project tested and approved" id="speedProject">
<div id="container">
<header id="header" role="header" class="clearfix">
<span class="image">
<img src="assets/img/logo.gif" alt="">
</span>
<h1>Mothereffinganimatedgif</h1>
<p>Drag + Drop, Client-side, Animated GIF Creator</p>
<ul class="social">
<li><iframe src="http://markdotto.github.com/github-buttons/github-btn.html?user=h5bp&repo=mothereffinganimatedgif&type=fork&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="62px" height="20px"></iframe>
<li><iframe src="http://markdotto.github.com/github-buttons/github-btn.html?user=paulirish&repo=lazyweb-requests&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="132px" height="20px"></iframe></li>
</ul>
</header>
<div id="main" role="main">
<div class="top">
<div class="files">
<div id="inimglist" class="clearfix"></div>
</div>
<div class="controls">
<span class="size">
<label>Width:</label>
<input type=range max=100 min=1 value=100><output></output>
</span>
<span class="rate">
<label>Frame Delay:</label>
<input type=range max=600 min=1 value=300><output></output>
</span>
<span class="quality">
<label>Quality:</label>
<input type=range max=10 min=1 value=3><output></output>
</span>
<a href="#" class="clear">Clear</a>
</div>
</div>
</div>
<div id="dropArea">
<h2 class='support'><span>Drag and <em>Drop</em> images here</span></h2>
<h2 class='nosupport'>Your browser doesn't support FileReader, Drag and Drop, or some other modern required features. :(</h2>
</div>
<div id='results'>
<h2 class='onlyfiles'>
<button class='play'>Animate</button>
<button class='clear'>Reset</button>
<a id="downloadlink" href="">Download GIF</a>
<a id="sharelink" href="">Post to imgur</a>
</h2>
<img id="animresult"/>
</div>
<footer id="footer" role="contentinfo">
<div id="html5-badge">
<a href="http://www.w3.org/html/logo/"><img src="http://www.w3.org/html/logo/badge/html5-badge-h-css3-device-performance-semantics-storage.png" width="261" height="64" alt="HTML5 Powered with CSS3 / Styling, Device Access, Performance & Integration, Semantics, and Offline & Storage" title="HTML5 Powered with CSS3 / Styling, Device Access, Performance & Integration, Semantics, and Offline & Storage"></a>
</div>
<p>Made by the crew behind <a href="https://github.com/paulirish/lazyweb-requests/issues/53">lazyweb-requests#53</a></p>
</footer>
</div>
<script>
var _errs=["4fc160e76fe93d1c35001ac4"];(function(a,b){a.onerror=function(){_errs.push(arguments)};
var d=function(){var a=b.createElement("script"),c=b.getElementsByTagName("script")[0];
a.src="//d15qhc0lu1ghnk.cloudfront.net/beacon.js";a.async=!0;
c.parentNode.insertBefore(a,c)};a.addEventListener?a.addEventListener("load",d,!1):
a.attachEvent("onload",d)})(window,document);
</script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="assets/js/libraries/jquery-1.7.1.min.js"><\/script>')</script>
<script src="assets/js/libraries/jquery.base64.min.js"></script>
<script src="assets/js/libraries/jQueryRotateCompressed.js"></script>
<script src="assets/js/libraries/LZWEncoder.js"></script>
<script src="assets/js/libraries/NeuQuant.js"></script>
<script src="assets/js/libraries/GIFEncoder.js"></script>
<script src="assets/js/libraries/filereader.js"></script>
<script src="assets/js/libraries/modernizr.js"></script>
<script src="assets/js/libraries/html5slider.js"></script>
<script src="assets/js/libraries/underscore-min.js"></script>
<script src="assets/js/libraries/backbone-min.js"></script>
<script src="assets/js/libraries/backbone.nopersistence.js"></script>
<script src="assets/js/share.js"></script>
<script src="assets/js/mfanimated.js"></script>
<script src="assets/js/models.js"></script>
<script src="assets/js/ui.js"></script>
<script src="assets/js/startup.js"></script>
<script>
var _gaq=[['_setAccount','UA-18857974-3'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
</body>
</html>