comparison src/main/webapp/imageServer/resources/js/jquery-ui-1.10.4/demos/button/checkbox.html @ 7:764f47286679

(none)
author jurzua
date Wed, 29 Oct 2014 14:28:34 +0000
parents
children
comparison
equal deleted inserted replaced
6:ded3bccf2cf9 7:764f47286679
1 <!doctype html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <title>jQuery UI Button - Checkboxes</title>
6 <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
7 <script src="../../jquery-1.10.2.js"></script>
8 <script src="../../ui/jquery.ui.core.js"></script>
9 <script src="../../ui/jquery.ui.widget.js"></script>
10 <script src="../../ui/jquery.ui.button.js"></script>
11 <link rel="stylesheet" href="../demos.css">
12 <script>
13 $(function() {
14 $( "#check" ).button();
15 $( "#format" ).buttonset();
16 });
17 </script>
18 <style>
19 #format { margin-top: 2em; }
20 </style>
21 </head>
22 <body>
23
24 <input type="checkbox" id="check" /><label for="check">Toggle</label>
25
26 <div id="format">
27 <input type="checkbox" id="check1" /><label for="check1">B</label>
28 <input type="checkbox" id="check2" /><label for="check2">I</label>
29 <input type="checkbox" id="check3" /><label for="check3">U</label>
30 </div>
31
32 <div class="demo-description">
33 <p>A checkbox is styled as a toggle button with the button widget. The label element associated with the checkbox is used for the button text.</p>
34 <p>This demo also demonstrates three checkboxes styled as a button set by calling <code>.buttonset()</code> on a common container.</p>
35 </div>
36 </body>
37 </html>