diff options
author | Paul Bakaus <paul.bakaus@googlemail.com> | 2008-09-16 12:40:48 +0000 |
---|---|---|
committer | Paul Bakaus <paul.bakaus@googlemail.com> | 2008-09-16 12:40:48 +0000 |
commit | cef66ee99f3924f5f74ac8c3f3190bfd125bd845 (patch) | |
tree | 0098d49f57a3de62038680c3e9536f27ce18b6af /demos | |
parent | fd40ff0fe036cf4c38b93f0345505052f83dbb66 (diff) | |
download | jquery-ui-cef66ee99f3924f5f74ac8c3f3190bfd125bd845.tar.gz jquery-ui-cef66ee99f3924f5f74ac8c3f3190bfd125bd845.zip |
sortable: Fixed the floating functional demo, implemented forcePlaceholderSize
Diffstat (limited to 'demos')
-rw-r--r-- | demos/functional/templates/ui.sortable.ex3.html | 16 | ||||
-rw-r--r-- | demos/functional/templates/ui.sortable.html | 2 |
2 files changed, 11 insertions, 7 deletions
diff --git a/demos/functional/templates/ui.sortable.ex3.html b/demos/functional/templates/ui.sortable.ex3.html index 1d460fd01..e6fe28ee7 100644 --- a/demos/functional/templates/ui.sortable.ex3.html +++ b/demos/functional/templates/ui.sortable.ex3.html @@ -3,13 +3,17 @@ <div id="example3"> <div style="min-height: 50px; min-height:50px; height:auto !important;"> - + <style type="text/css" media="screen"> + #placeholderSortable li { + float: left; + } + </style> <ul id="placeholderSortable" style="list-style-position: inside; height: 30px; cursor: hand; cursor: pointer;"> - <li id='user_Jack' style="float: left;">Jack</li> - <li id='user_John' style="float: left;">John</li> - <li id='user_Marry' style="float: left;">Marry</li> - <li id='user_Claire' style="float: left;">Claire</li> - <li id='user_Daniel' style="float: left;">Daniel</li> + <li id='user_Jack'>Jack</li> + <li id='user_John'>John</li> + <li id='user_Marry'>Marry</li> + <li id='user_Claire'>Claire</li> + <li id='user_Daniel'>Daniel</li> </ul> </div> diff --git a/demos/functional/templates/ui.sortable.html b/demos/functional/templates/ui.sortable.html index 55ea4b7a6..79cfadbfb 100644 --- a/demos/functional/templates/ui.sortable.html +++ b/demos/functional/templates/ui.sortable.html @@ -38,7 +38,7 @@ options: [ { desc: 'Floating, with defined placeholder class', - source: '$("#placeholderSortable").sortable({ placeholder: "ui-selected", revert: true });' + source: '$("#placeholderSortable").sortable({ placeholder: "ui-selected", forcePlaceholderSize: true, revert: true });' } ] } |