-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
94 lines (81 loc) · 2.54 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
88
89
90
91
92
93
94
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<script type="text/javascript" src="libs/jQuery-1.4.2.min.js"></script>
<script type="text/javascript" src="core/core.js"></script>
<script type="text/javascript" src="core/classes/multiselector.js"></script>
<script type="text/javascript" src="core/classes/validator.js"></script>
<script type="text/javascript" src="modules/exampleModule.js"></script>
<style type="text/css">
label {
width: 10em;
float: left;
}
label.error {
float: none;
color: red;
padding-left: .5em;
vertical-align: top;
}
p {
clear: both;
}
.submit {
margin-left: 12em;
}
em {
font-weight: bold;
padding-right: 1em;
vertical-align: top;
}
</style>
</head>
<body>
<h1>Multiselector example</h1>
<div id="multiselector">
<div class="left">
<select size="10" multiple="multiple">
<option>Lorem</option>
<option>Ipsum</option>
<option>Dolor</option>
<option>At</option>
<option>Amet</option>
</select>
</div>
<a href="#" class="add">add</a>
<a href="#" class="remove">remove</a>
<div class="right">
<select size="10">
</select>
</div>
</div>
<div id="validator">
<form class="cmxform" id="commentForm" method="get" action="">
<fieldset>
<legend>A simple comment form with submit validation and default messages</legend>
<p>
<label for="cname">Name</label>
<em>*</em><input id="cname" name="name" size="25" class="required" minlength="2"/>
</p>
<p>
<label for="cemail">E-Mail</label>
<em>*</em><input id="cemail" name="email" size="25" class="required email"/>
</p>
<p>
<label for="curl">URL</label>
<em> </em><input id="curl" name="url" size="25" class="url" value=""/>
</p>
<p>
<label for="ccomment">Your comment</label>
<em>*</em><textarea id="ccomment" name="comment" cols="22" class="required"></textarea>
</p>
<p>
<input class="submit" type="submit" value="Submit"/>
</p>
</fieldset>
</form>
</div>
</body>
</html>