-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.html
39 lines (28 loc) · 1.62 KB
/
demo.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>jQuery DB Thermometer Plugin Demo</title>
<link type="text/css" href="css/reset.css" rel="stylesheet" />
<link type="text/css" href="css/jquery.db-thermometer.css" rel="stylesheet" />
<link type="text/css" href="css/demo.css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/ui.core.js"></script>
<script type="text/javascript" src="js/ui.db-thermometer.js"></script>
<script type="text/javascript" src="js/demo.js"></script>
</head>
<body>
<h1 id="title">jQuery DB Thermometer Plugin Demo</h1>
<div id="left_column">
<p>DB Thermometer Range: <input type="text" size="3" id="min" name="min"></input> to <input type="text" size="3" id="max" name="max"></input></p>
<p>Yellow Minimum: <input type="text" size="3" id="yellow_min" name="yellow_min"></input></p>
<p>Red Minimum: <input type="text" size="3" id="red_min" name="red_min"></input></p>
<p><input type="button" value="Create New DB Thermometer" onclick="create_db_thermometer('db_thermometer_1');"></input></p>
<p id="set_value">Set value: <input type="text" size="3" id="value" name="value"></input> <input type="button" value="Update" onclick="update_db_thermometer('db_thermometer_1', $('#value').val());"></input></p>
</div>
<div id="right_column">
<!-- this div will become our db thermometer -->
<div id="db_thermometer_1"></div>
</div>
</body>
</html>