source: other-projects/tipple-android/i-greenstone-server-files/greenstone/webapps/greenstone3/interfaces/default/js/jquery-ui-1.8.15/demos/selectable/default.html@ 26899

Last change on this file since 26899 was 26899, checked in by davidb, 8 years ago

Tipple reborn after Chris's Summer of Code 2013

File size: 1.5 KB
Line 
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.6.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.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<div class="demo">
30
31<ol id="selectable">
32 <li class="ui-widget-content">Item 1</li>
33 <li class="ui-widget-content">Item 2</li>
34 <li class="ui-widget-content">Item 3</li>
35 <li class="ui-widget-content">Item 4</li>
36 <li class="ui-widget-content">Item 5</li>
37 <li class="ui-widget-content">Item 6</li>
38 <li class="ui-widget-content">Item 7</li>
39</ol>
40
41</div><!-- End demo -->
42
43
44
45<div class="demo-description">
46<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>
47</div><!-- End demo-description -->
48
49</body>
50</html>
Note: See TracBrowser for help on using the repository browser.