-
Notifications
You must be signed in to change notification settings - Fork 2
/
16_t.html
43 lines (31 loc) · 948 Bytes
/
16_t.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
<!doctype HTML>
<html>
<head>
<title>Pattern Maker</title>
<link rel="stylesheet" type="text/css" href="css/reset.css">
<link rel="stylesheet" type="text/css" href="css/16_t_style.css">
<script src="js/jquery.js" type="text/javascript"></script>
<script src="js/16_t.js" type="text/javascript"></script>
</head>
<body>
<div id = "submit">
<form name="form_a">
Char name: <input type="text" id="charname_box" maxlength="4">
Columns: <input type="text" id="column_box" onkeypress="return isNumber(event)" maxlength="2">
Rows: <input type="text" id="row_box" onkeypress="return isNumber(event)" maxlength="2">
<input type="button" value="Go" onclick="javascript:form_submit()">
</form>
Code:
</div>
<div id = "code">
</div>
<div id = "container">
<script>
adjust_array();
for (var i=0; i < 96; i++ ) {
document.write('<div class="colorBox" id="box'+i+'">');
document.write('</div>');
}
</script>
</div>
</body>