source: main/trunk/greenstone3/web/interfaces/oran/js/jquery-ui-1.8rc1/tests/visual/sortable/sortable_ticket_4551.html@ 24245

Last change on this file since 24245 was 24245, checked in by sjb48, 13 years ago

Oran code for supporting format changes to document.

  • Property svn:executable set to *
File size: 1.6 KB
Line 
1<!doctype html>
2<html lang="en">
3<head>
4 <title>Sortable Visual Test : Sortable ticket #4551</title>
5 <link rel="stylesheet" href="../visual.css" type="text/css" />
6 <link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">
7 <script type="text/javascript" src="../../../jquery-1.4.1.js"></script>
8 <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
9 <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
10 <script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
11 <script type="text/javascript" src="../../../ui/jquery.ui.sortable.js"></script>
12 <script type="text/javascript">
13 $(function() {
14 $("#first, #second").sortable({
15 connectWith: '.sortable'
16 }).disableSelection();
17 });
18 </script>
19 <style type="text/css">
20 .sortable { margin: 0; padding: 0; }
21 .sortable div { margin: 3px 3px 3px 0; background: #ccc; padding: 1px; border: 1px solid black; float:left; width: 100px; height: 140px; font-size: 1em; text-align: center; }
22 #second div { background: #acc; }
23 </style>
24</head>
25<body>
26
27<h1 class="ui-widget-header"><a href="http://dev.jqueryui.com/ticket/4551">#4551 - Sortable connectWith fails if item is floated</a></h1>
28
29<div id="first" class="sortable">
30 <div>1</div>
31 <div>2</div>
32 <div>3</div>
33 <div>4</div>
34 <div>5</div>
35 <div>6</div>
36 <div>7</div>
37 <div>8</div>
38 <div>9</div>
39 <div>10</div>
40 <div>11</div>
41 <div>12</div>
42</div>
43
44<br style="clear:both;">
45<hr />
46
47<div id="second" class="sortable">
48 <div>12</div>
49 <div>14</div>
50</div>
51
52</body>
53</html>
Note: See TracBrowser for help on using the repository browser.