-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
129 lines (125 loc) · 6.18 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>daturi: easy data-uri generation</title>
<link href="http://fonts.googleapis.com/css?family=Lobster:regular" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Droid+Sans:regular,bold" rel="stylesheet" type="text/css" >
<link href="http://fonts.googleapis.com/css?family=Droid+Serif:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css" >
<link rel="stylesheet" href="css/blueprint/screen.css" type="text/css" media="screen, projection">
<link rel="stylesheet" href="css/blueprint/print.css" type="text/css" media="print">
<!--[if lt IE 8]><link rel="stylesheet" href="css/blueprint/ie.css" type="text/css" media="screen, projection"><![endif]-->
<link rel="stylesheet" href="css/datr.css" type="text/css" media="screen, projection">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" type="text/javascript"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.8/jquery-ui.min.js" type="text/javascript"></script>
<script src="js/modernizr-1.6.min.js" type="text/javascript"></script>
<script src="js/datr.js" type="text/javascript"></script>
</head>
<body>
<div class="container">
<div id="header" class="span-20 last">
<div class="span-10">
<h1><a href="/">daturi</a></h1>
</div>
<div id="navi" class="span-10 prepend-top last">
<ul>
<li><a href="#what">what?</a></li>
<li><a href="#how">how?</a></li>
<li><a href="#why">why?</a></li>
<li><a href="#who">who?</a></li>
</ul>
</div>
</div>
<div class="span-20 prepend-top last">
<div class="top span-20 last">
<div class="span-10">
<h2>It's never been this easy!</h2>
<p>
To generate data-URI from your images, simply drag
one or more images from your <em>desktop</em> to the <em>dropbox</em> area on the right.
</p>
<h2>drop it like it's hot →</h2>
</div>
<div class="span-10 last">
<div class="dropbox">
</div>
</div>
</div>
<div id="dataurls" class="span-20 last">
</div>
<div style="clear:left;"></div>
<div class="bottom span-20 last">
<div class="span-10">
<h2 id="what">What?</h2>
<p>
The data URI scheme is a URI scheme that provides a
way to include data in-line in web pages as if they
were external resources.
</p>
<p>
A data URI can be used in a img-tag like this:
</p>
<p>
<img alt="html code showing data-uri" src="img/html.png" />
</p>
<p>
But also in a stylesheet like this.
</p>
<p>
<img alt="css code showing data-uri" src="img/css.png" />
</p>
<p>
Before you can use an image for this, you need to
encode it into this data URI scheme. <em>That's</em>
what <strong>daturi</strong> is for!
</p>
<p>
source: <a href="http://en.wikipedia.org/wiki/Data_URI_scheme">wikipedia</a>
</p>
</div>
<div class="prepend-1 span-9 last">
<h2 id="how">How?</h2>
<p>
<a href="http://jquery.com/">
<img alt="jquery" src="http://jquery.org/wp-content/uploads/2010/01/JQuery_logo_color_onwhite-300x74.png" />
</a>
</p>
<p>
<a href="http://jqueryui.com/">
<img alt="jquery ui" src="http://jquery.org/wp-content/uploads/2010/01/JQuery_UI_logo_color_onwhite-300x72.png" />
</a>
</p>
<p>
<a href="http://blueprintcss.org/">
<img alt="blueprint css framework" src="http://www.blueprintcss.org/img/blueprint_header_clean.png" />
</a>
</p>
<p>
<a href="http://modernizr.com/">
<img alt="modernizr browser feature detection" src="http://www.modernizr.com/i/logo.png" />
</a>
</p>
<p>
<a href="http://code.google.com/webfonts">
<img alt="google webfont hosting" src="http://www.google.com/images/logos/font_directory_logo_beta.gif" />
</a>
</p>
</div>
<div class="span-10">
<h2 id="why">Why?</h2>
<p>
Because I wanted a small project to work on and try out some things like, HTML5 dropareas,
javascript FileReader API, Google Webfonts, etc.
</p>
</div>
<div class="span-10 last">
<h2 id="who">Who?</h2>
<p>
This is made by <a href="http://gumuz.github.com/">Guyon Moree</a>.
</p>
</div>
</div>
</div>
</div>
</body>
</html>