forked from redteam316/html5-embroidery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
readfile.html
38 lines (38 loc) · 1.27 KB
/
readfile.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
<!DOCTYPE html>
<html manifest="manifest.appcache">
<head>
<meta charset="utf-8">
<title>Drag & Drop File Selection</title>
<style type="text/css">
#fileDropBox {
width: 20em;
line-height: 10em;
border: 1px dashed gray;
text-align: center;
color: gray;
border-radius: 7px;
}
</style>
</head>
<body>
<h3>Select a .DST, .EXP, .EXY, .JEF, .PCS, .PEC, .PES, .SEW, .VP3, .XXX or .Z00 file or drag and drop one to the drop box below:</h3>
<input type="file" id="files" name="files[]" multiple />
<div id="fileDropBox">Drop files here.</div>
<canvas id="mycanvas"></canvas>
<a href="#" id="btn-download">Download</a>
<script src="jdataview.js"></script>
<script src="pattern.js"></script>
<script src="dstformat.js"></script>
<script src="expformat.js"></script>
<script src="exyformat.js"></script>
<script src="pcsformat.js"></script>
<script src="pecformat.js"></script>
<script src="pesformat.js"></script>
<script src="jefformat.js"></script>
<script src="sewformat.js"></script>
<script src="vp3format.js"></script>
<script src="xxxformat.js"></script>
<script src="zskformat.js"></script>
<script src="main.js"></script>
</body>
</html>