diff options
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 });' } ] } |