-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
25 lines (25 loc) · 1.05 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
<!DOCTYPE html>
<html>
<head>
<title>Online Banner Editor</title>
<link rel="stylesheet" type="text/css" href="styles/styles.css" />
<link rel="stylesheet" type="text/css" media="print" href="styles/print.css" />
<script src="libs/jquery-1.8.3.js"></script>
<script src="js/getScrollOffsets.js" type="text/javascript"></script>
<script src="js/drag.js" type="text/javascript"></script>
<script src="js/edit.js" type="text/javascript"></script>
</head>
<body>
<div id="banner-edit" style="width:650px; height:185px; border: 1px solid grey; overflow: hidden;">
</div>
<form>
<input type="file" id="fileElem" accept="image/*" onchange= "draw(this.files);" style="display:none" ><br>
<input type="button" id="btnAddText" value="Add Text" onclick = "addText();">
<input type="button" id = "btnAddImage" onclick="doClick()" value="Add Image">
<input type="button" id="download" onclick="downloadBanner();" value="Download" disabled>
</form>
<canvas id="banner" width="650" height="185" style="display:none;"></canvas>
<div style="display:none;" id="tmp">
</div>
</body>
</html>