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
|
Rev | Line | |
---|
[24245] | 1 | <!doctype html>
|
---|
| 2 | <html lang="en">
|
---|
| 3 | <head>
|
---|
| 4 | <title>Selectable Visual Test : Selectable ticket #4341</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.selectable.js"></script>
|
---|
| 12 | <script type="text/javascript">
|
---|
| 13 | $(function() {
|
---|
| 14 | $("#selectable").selectable({
|
---|
| 15 | appendTo: "#container"
|
---|
| 16 | });
|
---|
| 17 | });
|
---|
| 18 | </script>
|
---|
| 19 | <style type="text/css">
|
---|
| 20 | body { margin: 0; padding: 0; }
|
---|
| 21 | #container { width: 600px; height: 400px; border: 1px solid gray; position: relative; overflow: hidden; }
|
---|
| 22 | #selectable { width: 400px; height: 300px; border: 1px solid silver; margin: 1em; }
|
---|
| 23 | #selectable * { margin: 1em; padding: 1em; }
|
---|
| 24 | .ui-selecting { background-color: #eef; }
|
---|
| 25 | .ui-selected { background-color: silver; }
|
---|
| 26 | </style>
|
---|
| 27 | </head>
|
---|
| 28 | <body>
|
---|
| 29 |
|
---|
| 30 | <div id="container">
|
---|
| 31 |
|
---|
| 32 | <div id="selectable">
|
---|
| 33 | <div>Selectable 1</div>
|
---|
| 34 | <div>Selectable 2</div>
|
---|
| 35 | <div>Selectable 3</div>
|
---|
| 36 | <div>Selectable 4</div>
|
---|
| 37 | <div>Selectable 5</div>
|
---|
| 38 | </div>
|
---|
| 39 |
|
---|
| 40 | </div>
|
---|
| 41 |
|
---|
| 42 | <h1 class="ui-widget-header"><a href="http://dev.jqueryui.com/ticket/4341">#4341 - Selectable: option appendTo is ignored, helper always appends to body</a></h1>
|
---|
| 43 |
|
---|
| 44 | </body>
|
---|
| 45 | </html>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.