aboutsummaryrefslogtreecommitdiffstats
path: root/demos/spinner/hexadecimal.html
blob: 03952a62dd4e68ba9f4d200b3a96b66b407ebaa1 (plain)
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
<!doctype html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>jQuery UI Spinner - Hexadecimal</title>
	<link type="text/css" href="../../themes/base/jquery.ui.all.css" rel="stylesheet" />
	<script type="text/javascript" src="../../jquery-1.4.3.js"></script>
	<script type="text/javascript" src="../../external/jquery.mousewheel-3.0.2.js"></script>
	<script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
	<script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
	<script type="text/javascript" src="../../ui/jquery.ui.button.js"></script>
	<script type="text/javascript" src="../../ui/jquery.ui.spinner.js"></script>
	<link type="text/css" href="../demos.css" rel="stylesheet" />
	<script type="text/javascript">
	$(function() {
		$("#hexadecimal").spinner({radix: 16, padLength: 6, precision: 2, step: '0.01'});	
	});
	</script>
</head>
<body>

<div class="demo">

<p>
	<label for="hexadecimal">Hexadecimal spinner:</label>
	<input id="hexadecimal" name="hexadecimal" value="0" />
</p>
</div><!-- End demo -->

<div class="demo-description">
<p>
Example of a hexadecimal spinner.
</p>
</div><!-- End demo-description -->

</body>
</html>