-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
41 lines (40 loc) · 1.6 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
<!DOCTYPE HTML>
<html xmlns=http://www.w3.org/1999/xhtml>
<head>
<meta http-equiv=Content-Type content="text/html;charset=utf-8">
<title>h5_doodle</title>
<link rel="stylesheet" type="text/css" href="css/main.css">
<script type="text/javascript" src="js/jquery-3.1.1.min.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript" src="js/draw.extend.js"></script>
</head>
<body>
<div class="container" align="center">
<div id="canvasContainer">
</div>
<div class="control-ops">
<button id="btnClear" type="button">清空画板</button>
Line width : <select id="selWidth">
<option value="2">2</option>
<option value="4" selected="selected">4</option>
<option value="8">8</option>
<option value="16">16</option>
</select>
Color : <select id="selColor">
<option value="black" selected="selected">black</option>
<option value="blue">blue</option>
<option value="red">red</option>
<option value="green">green</option>
</select>
Shape : <select id="selShape">
<option value="0" selected="selected">doodle</option>
<option value="1">橡皮擦</option>
<option value="2">直线</option>
<option value="3">长方形</option>
<option value="4">圆</option>
<option value="5">箭头</option>
</select>
</div>
</div>
</body>
</html>