github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

jquery / jquery-ui

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 840
    • 189
  • Source
  • Commits
  • Network (189)
  • Graphs
  • Tree: b8f1e92

click here to add a description

click here to add a homepage

  • Switch Branches (8)
    • bind
    • devpreview
    • formcontrols
    • master
    • menu
    • panel
    • tooltip
    • widget-super
  • Switch Tags (20)
    • 1.9m2
    • 1.9m1
    • 1.8rc3
    • 1.8rc2
    • 1.8rc1
    • 1.8b1
    • 1.8a2
    • 1.8a1
    • 1.8.3
    • 1.8.2
    • 1.8.1
    • 1.8
    • 1.7
    • 1.6rc6
    • 1.6rc5
    • 1.6rc3
    • 1.6rc2
    • 1.6
    • 1.5.2
    • 1.5.1
  • Comments
  • Contributors
Sending Request…

The official jQuery user interface library. — Read more

  Cancel

http://jqueryui.com/

  Cancel
  • HTTP
  • Git Read-Only

This URL has Read+Write access

demos: sortable - disableSelection on sortable elements
rdworth (author)
Mon Mar 02 04:10:59 -0800 2009
commit  b8f1e92817affa5eca40
tree    5780ff3d6db113b904ea
parent  1395a6047b7717978076
M demos/sortable/default.html 1 •
M demos/sortable/display-grid.html 1 •
M demos/sortable/empty-lists.html 2 ••
M demos/sortable/placeholder.html 1 •
M demos/sortable/portlets.html 2 ••
Txt demos/sortable/default.html
  • View file @ b8f1e92
... ...
@@ -15,6 +15,7 @@
15 15
   <script type="text/javascript">
16 16
   $(function() {
17 17
     $("#sortable").sortable();
  18
+    $("#sortable").disableSelection();
18 19
   });
19 20
   </script>
20 21
 </head>
Txt demos/sortable/display-grid.html
  • View file @ b8f1e92
... ...
@@ -14,6 +14,7 @@
14 14
   <script type="text/javascript">
15 15
   $(function() {
16 16
     $("#sortable").sortable();
  17
+    $("#sortable").disableSelection();
17 18
   });
18 19
   </script>
19 20
 </head>
Txt demos/sortable/empty-lists.html
  • View file @ b8f1e92
... ...
@@ -21,6 +21,8 @@
21 21
       connectWith: 'ul',
22 22
       dropOnEmpty: false
23 23
     });
  24
+
  25
+    $("#sortable1, #sortable2, #sortable3").disableSelection();
24 26
   });
25 27
   </script>
26 28
 </head>
Txt demos/sortable/placeholder.html
  • View file @ b8f1e92
... ...
@@ -18,6 +18,7 @@
18 18
     $("#sortable").sortable({
19 19
       placeholder: 'ui-state-highlight'
20 20
     });
  21
+    $("#sortable").disableSelection();
21 22
   });
22 23
   </script>
23 24
 </head>
Txt demos/sortable/portlets.html
  • View file @ b8f1e92
... ...
@@ -33,6 +33,8 @@
33 33
       $(this).toggleClass("ui-icon-minusthick");
34 34
       $(this).parents(".portlet:first").find(".portlet-content").toggle();
35 35
     });
  36
+
  37
+    $(".column").disableSelection();
36 38
   });
37 39
   </script>
38 40
 </head>

0 notes on commit b8f1e92

Please log in to comment.
Blog | Support | Training | Job Board | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server
  • English
  • Català
  • Čeština
  • Deutsch
  • Español
  • Français
  • Hrvatski
  • Indonesia
  • Italiano
  • 日本語
  • Nederlands
  • Norsk
  • Polski
  • Português (BR)
  • Српски
  • Svenska
  • 中文