e11042358377520d91ad68d31f25527ed1539bdb
[myslice.git] / third-party / jquery-ui-1.10.2 / demos / selectable / default.html
1 <!doctype html>
2 <html lang="en">
3 <head>
4         <meta charset="utf-8">
5         <title>jQuery UI Selectable - Default functionality</title>
6         <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
7         <script src="../../jquery-1.9.1.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.mouse.js"></script>
11         <script src="../../ui/jquery.ui.selectable.js"></script>
12         <link rel="stylesheet" href="../demos.css">
13
14         <style>
15         #feedback { font-size: 1.4em; }
16         #selectable .ui-selecting { background: #FECA40; }
17         #selectable .ui-selected { background: #F39814; color: white; }
18         #selectable { list-style-type: none; margin: 0; padding: 0; width: 60%; }
19         #selectable li { margin: 3px; padding: 0.4em; font-size: 1.4em; height: 18px; }
20         </style>
21         <script>
22         $(function() {
23                 $( "#selectable" ).selectable();
24         });
25         </script>
26 </head>
27 <body>
28
29 <ol id="selectable">
30         <li class="ui-widget-content">Item 1</li>
31         <li class="ui-widget-content">Item 2</li>
32         <li class="ui-widget-content">Item 3</li>
33         <li class="ui-widget-content">Item 4</li>
34         <li class="ui-widget-content">Item 5</li>
35         <li class="ui-widget-content">Item 6</li>
36         <li class="ui-widget-content">Item 7</li>
37 </ol>
38
39 <div class="demo-description">
40 <p>Enable a DOM element (or group of elements) to be selectable. Draw a box with your cursor to select items. Hold down the Ctrl key to make multiple non-adjacent selections. </p>
41 </div>
42 </body>
43 </html>