-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
87 lines (76 loc) · 1.92 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
<!DOCTYPE html>
<html><head>
<title>ZipFile demo</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/vbscript">
Function BinaryToArray(Binary)
Dim i
ReDim byteArray(LenB(Binary))
For i = 1 To LenB(Binary)
byteArray(i-1) = AscB(MidB(Binary, i, 1))
Next
BinaryToArray = byteArray
End Function
</script>
<script src="external/jquery.js" type="text/javascript"></script>
<script src="external/deflate.js" type="text/javascript"></script>
<script src="external/collapser.js" type="text/javascript"></script>
<script src="zipfile.js" type="text/javascript"></script>
<script src="demo.js" type="text/javascript"></script>
<style type="text/css" charset="utf-8">
h1 {
text-align: center;
}
#fname {
font-size: 110%;
color: maroon ;
}
#message {
display: none;
text-align: center;
border: 1px solid black;
padding: 30px 0 30px 0;
margin-top: 50px;
width: 50%;
margin-left: 25%;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
}
.prop {
color: #A9A9A9;
font-weight: bold;
}
.filecontent {
border: 1px dashed black;
padding: 8px;
}
.fileinfos {
margin: 0 0 10px 12px;
}
.error {
color: red;
font-weight: bold;
}
.header {
text-align: center;
font-weight: bold;
margin: 30px 0 50px 25%;
width: 50%;
border: 1px solid gray;
padding: 14px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}
</style>
</head>
<body>
<p class="header">This is a demo for ZipFile Javascript library. Files are extracted from
ZipFile archive itself and are displayed in this document.</p>
<h1>Infos for <span id="fname">…</span> zip file</h1>
<div id="comment"><span class="prop">global comment</span>
<pre id="gcommentcontent"></pre>
</div>
<ol id="main"></ol>
<div id="message"></div>
</body>
</html>