forked from dzysyak/jQuery.preview
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
36 lines (32 loc) · 662 Bytes
/
Copy pathindex.html
File metadata and controls
36 lines (32 loc) · 662 Bytes
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
<!DOCTYPE html>
<html>
<head>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="jquery.preimage.js"></script>
<script>
$(document).ready(function()
{
$('.file').preimage();
});
</script>
<style>
.prev_container{
overflow: auto;
width: 300px;
height: 135px;
}
.prev_thumb{
margin: 10px;
height: 100px;
}
</style>
<meta charset=utf-8 />
<title>jQuery file upload</title>
</head>
<body>
<input class="file" id="file1" type='file' multiple title="test #1"/>
<div id="prev_file1"></div><br/>
<input class="file" id="file2" type='file' multiple title="test #2"/>
<div id="prev_file2"></div>
</body>
</html>