-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.html
executable file
·32 lines (31 loc) · 1003 Bytes
/
example.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
<!DOCTYPE html>
<!-- saved from url=(0021)http://www.google.com -->
<html>
<head>
<title>Progress Bar Example</title>
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="js/progressbar.js"></script>
<link rel="stylesheet" type="text/css" href="css/progressbar.css">
<script type="text/javascript">
var button;
function test(control) {
button = $(control);
button.attr('disabled', true);
AnimateProgressBar('test', '217', true);
window.setTimeout(Complete, 100);
}
function Complete() {
CompleteProgressBar('test', '217', '222', true, function () { }, function () {
button.attr('disabled', false);
});
}
</script>
</head>
<body>
<div class="Textbox">
<div class="TextProgressBar" id="test"></div>
<input type="text" class="ProgressBar"/>
</div>
<input type="button" value="submit" id="submitbutton" onclick="test('#submitbutton');"/>
</body>
</html>