~keith-hughitt/helioviewer.org/2.0

« back to all changes in this revision

Viewing changes to lib/jquery.ui-1.7.1/development-bundle/demos/selectable/default.html

  • Committer: Keith Hughitt
  • Date: 2010-03-24 11:14:04 UTC
  • Revision ID: hughitt1@io-20100324111404-tjat3xqy09nqvwik
Helioviewer.orgĀ 2.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!doctype html>
 
2
<html lang="en">
 
3
<head>
 
4
        <title>jQuery UI Selectable - Default functionality</title>
 
5
        <link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />
 
6
        <script type="text/javascript" src="../../jquery-1.3.2.js"></script>
 
7
        <script type="text/javascript" src="../../ui/ui.core.js"></script>
 
8
        <script type="text/javascript" src="../../ui/ui.selectable.js"></script>
 
9
        <link type="text/css" href="../demos.css" rel="stylesheet" />
 
10
        
 
11
        <style type="text/css">
 
12
        #feedback { font-size: 1.4em; }
 
13
        #selectable .ui-selecting { background: #FECA40; }
 
14
        #selectable .ui-selected { background: #F39814; color: white; }
 
15
        #selectable { list-style-type: none; margin: 0; padding: 0; width: 60%; }
 
16
        #selectable li { margin: 3px; padding: 0.4em; font-size: 1.4em; height: 18px; }
 
17
        </style>
 
18
        <script type="text/javascript">
 
19
        $(function() {
 
20
                $("#selectable").selectable();
 
21
        });
 
22
        </script>
 
23
</head>
 
24
<body>
 
25
<div class="demo">
 
26
 
 
27
<ol id="selectable">
 
28
        <li class="ui-widget-content">Item 1</li>
 
29
        <li class="ui-widget-content">Item 2</li>
 
30
        <li class="ui-widget-content">Item 3</li>
 
31
        <li class="ui-widget-content">Item 4</li>
 
32
        <li class="ui-widget-content">Item 5</li>
 
33
        <li class="ui-widget-content">Item 6</li>
 
34
        <li class="ui-widget-content">Item 7</li>
 
35
</ol>
 
36
 
 
37
</div><!-- End demo -->
 
38
 
 
39
<div class="demo-description">
 
40
 
 
41
<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>
 
42
 
 
43
</div><!-- End demo-description -->
 
44
</body>
 
45
</html>